diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-13 01:04:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-06 11:22:23 +0300 |
commit | 4f4be79c9ee7f36996163c6cf7056dae94e1b17e (patch) | |
tree | 14254a0d5cdff9ba1694032ea362bc736613edbb /drivers/md/Makefile | |
parent | b5891b624b9a5d3dd65b6c5a6601480bcb1a3dc3 (diff) | |
download | linux-4f4be79c9ee7f36996163c6cf7056dae94e1b17e.tar.xz |
NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
[ Upstream commit eb2c50da9e256dbbb3ff27694440e4c1900cfef8 ]
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+
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/md/Makefile')
0 files changed, 0 insertions, 0 deletions