patch-2.1.64 linux/fs/nfs/inode.c

Next file: linux/include/asm-i386/bugs.h
Previous file: linux/fs/nfs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.63/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -629,13 +629,12 @@
 	 * Big trouble! The inode has become a different object.
 	 */
 #ifdef NFS_PARANOIA
-printk("nfs_refresh_inode: mode changed, %07o to %07o\n",
-inode->i_mode, fattr->mode);
+printk("nfs_refresh_inode: inode %ld mode changed, %07o to %07o\n",
+inode->i_ino, inode->i_mode, fattr->mode);
 #endif
 	fattr->mode = inode->i_mode; /* save mode */
 	make_bad_inode(inode);
 	inode->i_mode = fattr->mode; /* restore mode */
-	inode->i_nlink = 0;
 	/*
 	 * No need to worry about unhashing the dentry, as the
 	 * lookup validation will know that the inode is bad.

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