git: tmpfs - Remove duplicated checks in tmpfs_chflags()

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Wed Sep 4 03:40:33 PDT 2013


commit 5339dfe4986a925a95b80dbf103e448cb44c3bf6
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Wed Sep 4 12:22:27 2013 +0200

    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.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5339dfe4986a925a95b80dbf103e448cb44c3bf6


-- 
DragonFly BSD source repository


More information about the Commits mailing list