]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] namei fixes (16/19)
authorAl Viro <viro@www.linux.org.uk>
Mon, 6 Jun 2005 20:36:12 +0000 (13:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Jun 2005 21:42:27 +0000 (14:42 -0700)
commit54f0a53850eef85fc87c71ddd21638762805539e
tree559f7d4f5536d2f155ef4301bb2e4056e7a5e587
parent7c3fd339b144b3a884f6de4ea93bcb0932182bb2
[PATCH] namei fixes (16/19)

Conditional mntput() moved into __do_follow_link().  There it collapses with
unconditional mntget() on the same sucker, closing another too-early-mntput()
race.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namei.c