]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Fix do_path_lookup() to add the check for error in link_path_walk()
authorSuzuki <suzuki@In.ibm.com>
Tue, 7 Feb 2006 20:58:36 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:32 +0000 (16:12 -0800)
commit3bc8414b079ec372485c99ed1f33c6c42ca9d756
treebdb939f8ef5ad746ac61948c8476683c9e83334f
parentc00a76aea339b427b47ddc28de06dee0a652e801
[PATCH] Fix do_path_lookup() to add the check for error in link_path_walk()

Fix do_path_lookup() to avoid accessing invalid dentry or inode when the
link_path_walk() has failed.  This should fix Bugme #5897.

Signed-off-by: Suzuki K P <suzuki@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namei.c