patch-2.3.20 linux/fs/nfsd/nfsfh.c
Next file: linux/fs/open.c
Previous file: linux/fs/ncpfs/sock.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Oct 7 10:17:09 1999
- Orig file:
v2.3.19/linux/fs/nfsd/nfsfh.c
- Orig date:
Tue Jun 8 10:47:58 1999
diff -u --recursive --new-file v2.3.19/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -824,7 +824,7 @@
printk("lookup_by_inode: found %s\n", dirent.name);
#endif
- dentry = lookup_dentry(dirent.name, dget(parent), 0);
+ dentry = lookup_dentry(dirent.name, parent, 0);
if (!IS_ERR(dentry)) {
if (dentry->d_inode && dentry->d_inode->i_ino == ino)
goto out;
@@ -1007,7 +1007,7 @@
/*
* ... then search for the inode in the parent directory.
*/
- dentry = lookup_by_inode(parent, u32_to_ino_t(fh->fh_ino));
+ dentry = lookup_by_inode(dget(parent), u32_to_ino_t(fh->fh_ino));
dput(parent);
if (dentry)
goto out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)