]> 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)
commit2c5bc82affc21e8c46c3a5f0bf537d0292c157a0
treec86ce80fa069cbe60f3c3dfbc939269ecc0d1aa4
parent25d55963055b92b6eec8d1d0e60ac0679a6d9544
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