]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] hppfs: fix symlink error path
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Fri, 26 Aug 2005 14:57:53 +0000 (16:57 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 26 Aug 2005 18:39:19 +0000 (11:39 -0700)
commitfd589e0b662c1ea8cfb1e0d20d60a2510979865b
tree5c281ab99184fa6dcfb09586064ea7751c32fd4c
parentd7a60d50d7713b65a3fd88f11d5717b83a6b6a97
[PATCH] hppfs: fix symlink error path

While touching this code I noticed the error handling is bogus, so I
fixed it up.

I've removed the IS_ERR(proc_dentry) check, which will never trigger and
is clearly a typo: we must check proc_file instead.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hppfs/hppfs_kern.c