tmpfs - Remove duplicated checks in tmpfs_chflags()
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 4 Sep 2013 10:22:27 +0000 (12:22 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 4 Sep 2013 10:37:53 +0000 (12:37 +0200)
commit5339dfe4986a925a95b80dbf103e448cb44c3bf6
tree8edf675af14a312cf326288e944857bb511b39db
parentf97bcf5edfcccdf7a48e9a64c834b6955503301f
tmpfs - Remove duplicated checks in tmpfs_chflags()

* Do not duplicate the checks that vop_helper_setattr_flags() already performed.
* On tmpfs_mount(), root node already has set SF_NOCACHE on its vnode.
sys/vfs/tmpfs/tmpfs_subr.c