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

The first argument of __do_follow_link() switched to struct path *
(__do_follow_link(path->dentry, ...) -> __do_follow_link(path, ...)).

All callers have the same calls of mntget() right before and dput()/mntput()
right after __do_follow_link(); these calls have been moved inside.

Obviously equivalent transformations.

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