Skip to content
Commit c49edecd authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarJ. R. Okajima <hooanon05g@gmail.com>
Fixes: 18290650 ("NFS: Move buffered I/O locking into nfs_file_write()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent a41bd25a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment