diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2016-07-18 10:41:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-20 18:09:21 +0200 |
commit | 3d6562fded3ce875b8a7fc30eeed73b16366d77e (patch) | |
tree | c7e020e26e480d98e1bb97b98dc646e3167d00f7 /fs/nfsd | |
parent | 4fa571ebe60f311c885b37a3dcfbf961e5fbd57d (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions