[patch] Re: NFS writes

Tim Waugh (tmw20@cam.ac.uk)
Sat, 24 May 1997 07:09:12 +0100 (BST)


This patch fixes the problem I was seeing (to do with NFS writes).

Tim.
*/

--- linux/fs/nfs/write.c~ Sat May 24 04:41:39 1997
+++ linux/fs/nfs/write.c Sat May 24 04:41:40 1997
@@ -178,7 +178,7 @@
wsize = count;

result = nfs_proc_write(NFS_SERVER(inode), NFS_FH(inode),
- offset, wsize, IS_SWAPFILE(inode),
+ IS_SWAPFILE(inode), offset, wsize,
buffer, &fattr);

if (result < 0) {