]> git.baikalelectronics.ru Git - kernel.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)
commitc10d5a6d29c5596fcadf5060f31dd4f6c7783d7f
treebdb939f8ef5ad746ac61948c8476683c9e83334f
parent4ac5839afa782668a19916dd4a9f135732552763
[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