diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-12 18:04:36 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-19 08:56:04 -0400 |
commit | eb2c50da9e256dbbb3ff27694440e4c1900cfef8 (patch) | |
tree | fb5c36bec2b2b8fdceeac4bc0e1fb74455b7e971 /fs/jbd2 | |
parent | f4340e9314dbfadc48758945f85fc3b16612d06f (diff) | |
download | linux-eb2c50da9e256dbbb3ff27694440e4c1900cfef8.tar.gz linux-eb2c50da9e256dbbb3ff27694440e4c1900cfef8.tar.bz2 linux-eb2c50da9e256dbbb3ff27694440e4c1900cfef8.zip |
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: Trond Myklebust <trond.myklebust@hammerspace.com>
Fixes: 0a00b77b331a ("nfs: mirroring support for direct io")
Cc: stable@vger.kernel.org # v3.20+
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions