commit | c49edecd513693ea7530ab18efbd7d6d5b7cbf90 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Sat Sep 03 12:05:31 2016 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Sat Sep 03 12:10:36 2016 -0400 |
tree | d1474d884131047d3c6ea8244d0f6c7d78f136d5 | |
parent | a41bd25ae67d3e4052c7f00ee9f2b4ba9219309e [diff] |
NFS: Fix error reporting in nfs_file_write() When doing O_DSYNC writes, the actual write errors are reported through generic_write_sync(), so we must test the result. Reported-by: J. R. Okajima <hooanon05g@gmail.com> Fixes: 18290650b1c8 ("NFS: Move buffered I/O locking into nfs_file_write()") Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>