commit | c3e9ea16adc1ce378e7c1416dace0c93631e2fcc | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Mon May 10 12:25:59 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jun 18 10:00:04 2021 +0200 |
tree | bea0d67407fcc858fc9657ce023ba4aa7d313143 | |
parent | 864b5a8d5390765ddb8e82b86b111de86868d65f [diff] |
gfs2: Prevent direct-I/O write fallback errors from getting lost [ Upstream commit 43a511c44e58e357a687d61a20cf5ef1dc9e5a7c ] When a direct I/O write falls entirely and falls back to buffered I/O and the buffered I/O fails, the write failed with return value 0 instead of the error number reported by the buffered I/O. Fix that. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>