diff options
author | Scott Mayhew <smayhew@redhat.com> | 2020-08-01 07:10:39 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-08-04 23:16:36 -0400 |
commit | ce368536dd614452407dc31e2449eb84681a06af (patch) | |
tree | 21c31d963e4da18bd140e27ed5e861eb98a7782b /net | |
parent | 67dd23f9e6fbaf163431912ef5599c5e0693476c (diff) | |
download | linux-stable-ce368536dd614452407dc31e2449eb84681a06af.tar.gz linux-stable-ce368536dd614452407dc31e2449eb84681a06af.tar.bz2 linux-stable-ce368536dd614452407dc31e2449eb84681a06af.zip |
nfs: nfs_file_write() should check for writeback errors
The NFS_CONTEXT_ERROR_WRITE flag (as well as the check of said flag) was
removed by commit 6fbda89b257f. The absence of an error check allows
writes to be continually queued up for a server that may no longer be
able to handle them. Fix it by adding an error check using the generic
error reporting functions.
Fixes: 6fbda89b257f ("NFS: Replace custom error reporting mechanism with generic one")
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions