patch-2.3.29 linux/fs/nfsd/nfsproc.c
Next file: linux/fs/nfsd/stats.c
Previous file: linux/fs/nfsd/nfsfh.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Nov 22 17:29:23 1999
-  Orig file: 
v2.3.28/linux/fs/nfsd/nfsproc.c
-  Orig date: 
Mon Apr 12 10:08:18 1999
diff -u --recursive --new-file v2.3.28/linux/fs/nfsd/nfsproc.c linux/fs/nfsd/nfsproc.c
@@ -237,6 +237,9 @@
 	if (nfserr)
 		goto done;
 	inode = newfhp->fh_dentry->d_inode;
+	if (inode && newfhp->fh_handle.fh_ino == 0)
+		 /* inode might have been instantiated while we slept */
+		 fh_update(newfhp);
 
 	/* Unfudge the mode bits */
 	if (attr->ia_valid & ATTR_MODE) { 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)