patch-2.4.7 linux/fs/nfsd/nfsfh.c
Next file: linux/fs/ntfs/Makefile
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Jul 9 18:21:41 2001
- Orig file:
v2.4.6/linux/fs/nfsd/nfsfh.c
- Orig date:
Tue Jul 3 17:08:21 2001
diff -u --recursive --new-file v2.4.6/linux/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
@@ -837,11 +837,11 @@
dentry = fhp->fh_dentry;
if (!dentry->d_inode)
goto out_negative;
- if (fhp->fh_handle.fh_fileid_type != 0)
- goto out_uptodate;
if (fhp->fh_handle.fh_version != 1) {
_fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle);
} else {
+ if (fhp->fh_handle.fh_fileid_type != 0)
+ goto out_uptodate;
datap = fhp->fh_handle.fh_auth+
fhp->fh_handle.fh_size/4 -1;
fhp->fh_handle.fh_fileid_type =
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)