patch-2.4.19 linux-2.4.19/fs/bad_inode.c
Next file: linux-2.4.19/fs/bfs/bfs_defs.h
Previous file: linux-2.4.19/fs/autofs4/root.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/fs/bad_inode.c
- Orig date:
Wed Apr 12 09:47:28 2000
diff -urN linux-2.4.18/fs/bad_inode.c linux-2.4.19/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)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)