]> 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)
commit11ee7bd80b527e69a253d9234dfcbbe6348af012
treee7d58e4340e3cb4dfb5fab66bf984b4fcf99655f
parent0911f3c4d18ae9963012c8c6ec85003d2fe90b1f
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