]> git.baikalelectronics.ru Git - kernel.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)
commite53a878036305168dcf63621e557908c8bbd5494
treec86ce80fa069cbe60f3c3dfbc939269ecc0d1aa4
parentec51543ca98f15e797be99b1b4ef11e5b6babc7b
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