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

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


commit 0e97dc5deb2ab63f53dd499dc3b382ca14563ff9
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/0e97dc5deb2ab63f53dd499dc3b382ca14563ff9


-- 
DragonFly BSD source repository


More information about the Commits mailing list