git: DragonFly_RELEASE_3_0 ext2fs - Clear CNP_PDIRUNLOCK flag after a lookup.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Mon Nov 19 14:53:05 PST 2012


commit 2cc1fb69cb98966e3911ae658b47bbaf7cd0e6a4
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Mon Nov 19 23:32:16 2012 +0100

    ext2fs - Clear CNP_PDIRUNLOCK flag after a lookup.
    
    vop_compat_nresolve() unlocks the vnode when flag CNP_PDIRUNLOCK
    is set, so either we clear the flag or avoid unlocking the vnode
    after an ext2_lookup().
    
    DragonFly-bug: http://bugs.dragonflybsd.org/issues/2454
    
    Reported by: Skylar Hawk

Summary of changes:
 sys/gnu/vfs/ext2fs/ext2_lookup.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2cc1fb69cb98966e3911ae658b47bbaf7cd0e6a4


-- 
DragonFly BSD source repository



More information about the Commits mailing list