diff options
| author | Benjamin Coddington <bcodding@redhat.com> | 2016-07-18 10:41:57 -0400 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:16:57 +0000 |
| commit | e5cbb3f69c1e5c0de4be580b73dc2fe19b5dc831 (patch) | |
| tree | 950796b1b3c06c408b9b86af7892c162c8d54609 /include/linux | |
| parent | d730f6afd8cc49855cfa306fd1945948db4ef5bf (diff) | |
nfs: don't create zero-length requests
commit 149a4fddd0a72d526abbeac0c8deaab03559836a upstream.
NFS doesn't expect requests with wb_bytes set to zero and may make
unexpected decisions about how to handle that request at the page IO layer.
Skip request creation if we won't have any wb_bytes in the request.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
