Commit 5c58f77a authored by Linus Torvalds's avatar Linus Torvalds

Merge home:v2.5/linux

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents 33110a83 6c4ce4b9
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
*/ */
static int bad_follow_link(struct dentry *dent, struct nameidata *nd) static int bad_follow_link(struct dentry *dent, struct nameidata *nd)
{ {
dput(nd->dentry); return vfs_follow_link(nd, ERR_PTR(-EIO));
nd->dentry = dget(dent);
return 0;
} }
static int return_EIO(void) static int return_EIO(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment