--- linux-2.3.99-pre6-3/fs/namei.c Sun Apr 16 22:30:16 2000
+++ linux-akpm/fs/namei.c Fri Apr 21 00:07:39 2000
@@ -378,8 +378,11 @@
err = -ENOENT;
inode = dentry->d_inode;
- if (!inode)
+ if (!inode) {
+ dput(nd->dentry);
+ nd->dentry = dentry;
break;
+ }
err = -ENOTDIR;
if (!inode->i_op)
break;
-- -akpm-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:17 EST