]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/namei.c
[PATCH] namei fixes (17/19)
authorAl Viro <viro@www.linux.org.uk>
Mon, 6 Jun 2005 20:36:13 +0000 (13:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Jun 2005 21:42:27 +0000 (14:42 -0700)
commit58c465eba4d7ed307c4c7cb3382ba7ee565e8858
treef147af3fee122ec5cc054ac78fa30e1490a8acd0
parent39ca6d49759346d4710c759d443eec8048b27213
[PATCH] namei fixes (17/19)

follow_mount() made void, reordered dput()/mntput() in it.

follow_dotdot() switched from struct vfmount ** + struct dentry ** to
struct nameidata *; callers updated.

Equivalent transformation + fix for 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