fs: use path_walk in do_path_lookup
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Wed, 9 May 2007 09:33:41 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:50 +0000 (12:30 -0700)
commit2dfdd266b9a2f2d93a3fdbee89969f6ea9ec5377
treea3dd643401a5fa63f60759c89fd00a4ef175cda5
parent62ce39c531860aee6c12128c629b0a82f656a306
fs: use path_walk in do_path_lookup

Since path_walk sets the total_link_count to 0 and calls link_path_walk, we
can just call path_walk directly.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/namei.c