[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)
commit39ca6d49759346d4710c759d443eec8048b27213
tree559f7d4f5536d2f155ef4301bb2e4056e7a5e587
parentd9d29a29669f96903d9950bb881c2a393fd33849
[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