git: ext2fs - Clear CNP_PDIRUNLOCK flag after a lookup.

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


commit 5f4f1383e0706850f4d42e49fc37813cf7943539
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/5f4f1383e0706850f4d42e49fc37813cf7943539


-- 
DragonFly BSD source repository



More information about the Commits mailing list