]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pNFS/flexfiles: Fix the reset of struct pgio_header when resending
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 26 Jun 2015 19:37:58 +0000 (15:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:17 +0000 (09:29 -0700)
commit48ac6c92fabea8eaf75d1f25255a502b1c354f48
tree36d020081f43a15e42aa82eb5f7e6ee6a6d4e0fa
parent759367b8eaa40930166671679a00f5ec97e2c5fa
pNFS/flexfiles: Fix the reset of struct pgio_header when resending

commit d620876990f02788d5a663075df007ffb91bdfad upstream.

hdr->good_bytes needs to be set to the length of the request, not
zero.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/flexfilelayout/flexfilelayout.c