ext2fs - Clear CNP_PDIRUNLOCK flag after a lookup.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 19 Nov 2012 22:32:16 +0000 (23:32 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 19 Nov 2012 22:42:09 +0000 (23:42 +0100)
commit5f4f1383e0706850f4d42e49fc37813cf7943539
tree6cce2cba2d4d1866793e19038ed4425e897201a0
parent0ce716ae28bcdb9d17311fa9884267ad78c27dc6
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
sys/gnu/vfs/ext2fs/ext2_lookup.c