]> git.karo-electronics.de Git - linux-beck.git/commit
NFS: fsync() must exit with an error if page writeback failed
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 11 Sep 2012 19:38:32 +0000 (15:38 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 11 Sep 2012 19:38:32 +0000 (15:38 -0400)
commit7b281ee026552f10862b617a2a51acf49c829554
treec86ce80fa069cbe60f3c3dfbc939269ecc0d1aa4
parentf39c1bfb5a03e2d255451bff05be0d7255298fa4
NFS: fsync() must exit with an error if page writeback failed

We need to ensure that if the call to filemap_write_and_wait_range()
fails, then we report that error back to the application.

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