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

git: ext2fs - Clear CNP_PDIRUNLOCK flag after a lookup.


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

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


-- 
DragonFly BSD source repository



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