patch-2.3.99-pre2 linux/fs/nfsd/nfsfh.c
Next file: linux/fs/nfsd/nfsproc.c
Previous file: linux/fs/nfsd/nfsctl.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Mar 16 22:24:32 2000
- Orig file:
v2.3.99-pre1/linux/fs/nfsd/nfsfh.c
- Orig date:
Tue Mar 14 19:10:40 2000
diff -u --recursive --new-file v2.3.99-pre1/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -147,7 +147,7 @@
generation);
iput(inode);
- return NULL;
+ return ERR_PTR(-ESTALE);
}
/* now to find a dentry.
* If possible, get a well-connected one
@@ -353,10 +353,6 @@
if (IS_ERR(result))
goto err_out;
err = -ESTALE;
- if (!result) {
- dprintk("find_fh_dentry: No inode found.\n");
- goto err_out;
- }
if (! (result->d_flags & DCACHE_NFSD_DISCONNECTED))
return result;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)