Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-24 19:38:00 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-24 19:38:00 -0800
commit5c58f77a86c1fe54c532792ca8be5e24a208c13c (patch)
treef2ff38541fd0f47baf6ea4b3f720701d812f5c65
parent33110a8347614e8e8d50172a39dc8809981744f5 (diff)
parent6c4ce4b9b801c4c05be68a65ee5408536798ddbb (diff)
Merge home:v2.5/linux
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-rw-r--r--fs/bad_inode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/bad_inode.c b/fs/bad_inode.c
index e44c02ac2283..dd4835c0f45e 100644
--- a/fs/bad_inode.c
+++ b/fs/bad_inode.c
@@ -17,9 +17,7 @@
*/
static int bad_follow_link(struct dentry *dent, struct nameidata *nd)
{
- dput(nd->dentry);
- nd->dentry = dget(dent);
- return 0;
+ return vfs_follow_link(nd, ERR_PTR(-EIO));
}
static int return_EIO(void)