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

NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0



If the attempt to resend the I/O results in no bytes being read/written,
we must ensure that we report the error.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Fixes: 0a00b77b ("nfs: mirroring support for direct io")
Cc: stable@vger.kernel.org # v3.20+
parent f4340e93
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