NFS: Don't mark a written page as uptodate until it is on disk
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 May 2007 15:58:03 +0000 (11:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:23 +0000 (23:40 -0400)
commit44dd151d5c21234cc534c47d7382f5c28c3143cd
treeeb84acd25a07a70a0418be7b94b3516865043f0f
parentd9df8d6b38228afab519094048aa2c082b0b2cf4
NFS: Don't mark a written page as uptodate until it is on disk

The write may fail, so we should not mark the page as uptodate until we are
certain that the data has been accepted and written to disk by the server.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/write.c