Benjamin Coddington 149a4fddd0 nfs: don't create zero-length requests
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>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
2016-07-22 15:15:16 -04:00
..
2016-05-27 15:26:11 -07:00
2016-05-20 17:58:30 -07:00
2016-04-26 12:00:48 -04:00
2016-06-23 00:29:53 +02:00
2016-05-23 17:04:14 -07:00
2016-05-26 19:34:26 -07:00
2016-06-07 22:07:09 -04:00
2016-05-26 20:00:28 -07:00
2016-06-10 11:32:47 -04:00
2016-05-23 17:04:14 -07:00
2016-06-10 11:32:47 -04:00
2016-06-24 12:11:34 -04:00
2016-04-18 11:18:55 +02:00