diff options
| author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-17 12:57:07 -0500 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 20:02:05 +0200 |
| commit | 56f704daf868c124085514bf900f6ee94dfea45e (patch) | |
| tree | 86e0756544dc56630582099cbcda62877526400f /Android.mk | |
| parent | 6424cff2deb509f02c8f9af1aab58cb247333acd (diff) | |
NFS: nfs_set_pgio_error sometimes misses errors
commit e9ae58aeee8842a50f7e199d602a5ccb2e41a95f upstream.
We should ensure that we always set the pgio_header's error field
if a READ or WRITE RPC call returns an error. The current code depends
on 'hdr->good_bytes' always being initialised to a large value, which
is not always done correctly by callers.
When this happens, applications may end up missing important errors.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions
