patch-2.0.1 linux/fs/nfs/file.c
Next file: linux/fs/nfs/nfsiod.c
Previous file: linux/fs/nfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sat Jun 29 12:00:46 1996
- Orig file:
v2.0.0/linux/fs/nfs/file.c
- Orig date:
Tue Apr 2 13:32:22 1996
diff -u --recursive --new-file v2.0.0/linux/fs/nfs/file.c linux/fs/nfs/file.c
@@ -146,7 +146,9 @@
file->f_pos = pos;
if (pos > inode->i_size)
inode->i_size = pos;
- nfs_refresh_inode(inode, &fattr);
+ /* Avoid possible Solaris 2.5 nfsd bug */
+ if (inode->i_ino == fattr.fileid)
+ nfs_refresh_inode(inode, &fattr);
return written;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov