DragonFly BSD
DragonFly commits List (threaded) for 2012-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Nov 2012 14:48:04 -0800 (PST)

commit 0e97dc5deb2ab63f53dd499dc3b382ca14563ff9
Author: Antonio Huete Jimenez <tuxillo@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]