patch-2.2.0-pre1 linux/fs/nfs/dir.c

Next file: linux/fs/nfs/inode.c
Previous file: linux/fs/ncpfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.132/linux/fs/nfs/dir.c linux/fs/nfs/dir.c
@@ -438,6 +438,7 @@
 
 	/* Ok, remeber that we successfully checked it.. */
 	nfs_renew_times(dentry);
+	nfs_refresh_inode(inode, &fattr);
 
 out_valid:
 	return 1;
@@ -571,11 +572,6 @@
 			error = 0;
 		}
 	}
-#ifdef NFS_PARANOIA
-if (error)
-printk("nfs_lookup: %s/%s failed, error=%d\n",
-dentry->d_parent->d_name.name, dentry->d_name.name, error);
-#endif
 out:
 	return error;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov