]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] namei fixes (2/19)
authorAl Viro <viro@www.linux.org.uk>
Mon, 6 Jun 2005 20:35:59 +0000 (13:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 6 Jun 2005 21:42:24 +0000 (14:42 -0700)
commit5f92b3bcec0fa2e2d775b589850097f9dc6b2de2
tree239ce9af16392b452f651780e85b40b809b8d17a
parent90ebe5654febe3555a2516d51d3d251226d35fdb
[PATCH] namei fixes (2/19)

All callers of do_follow_link() do mntget() right before it and
dput()+mntput() right after.  These calls are moved inside do_follow_link()
now.

Obviously equivalent transformation.

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