patch-2.3.41 linux/fs/nfs/write.c
Next file: linux/fs/nfsd/nfsfh.c
Previous file: linux/fs/ncpfs/mmap.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Jan 23 19:48:47 2000
- Orig file:
v2.3.40/linux/fs/nfs/write.c
- Orig date:
Tue Dec 7 09:32:48 1999
diff -u --recursive --new-file v2.3.40/linux/fs/nfs/write.c linux/fs/nfs/write.c
@@ -416,7 +416,9 @@
int
nfs_writepage(struct dentry * dentry, struct page *page)
{
- return nfs_writepage_sync(dentry, dentry->d_inode, page, 0, PAGE_SIZE);
+ int result = nfs_writepage_sync(dentry, dentry->d_inode, page, 0, PAGE_SIZE);
+ if ( result == PAGE_SIZE) return 0;
+ return result;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)