]> git.baikalelectronics.ru Git - kernel.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)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 26 Jun 2015 19:39:50 +0000 (15:39 -0400)
commit2ef8fe27249eab798ff81ae36fe8988f275ff475
treee7d58e4340e3cb4dfb5fab66bf984b4fcf99655f
parent14ff5297e786b16d4b45a979a913d2b131fae09a
pNFS/flexfiles: Fix the reset of struct pgio_header when resending

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

Cc: stable@vger.kernel.org # 4.0+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/flexfilelayout/flexfilelayout.c