diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2021-05-10 12:25:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 09:58:58 +0200 |
commit | 50b8e1be15f66f3bc7715b82f3265c6000a5256b (patch) | |
tree | ae390062a0df10094b33cf8135625ce09fc5b912 /drivers/hid | |
parent | c8eff67629437033b518033536d40ccfe7aa57cd (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>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions