diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-17 21:22:38 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-18 14:43:52 -0400 |
commit | 75369089820473eac45e9ddd970081901a373c08 (patch) | |
tree | 348fdb310218b444e10e0d88ebfef28c2e9242a0 /fs/nfs/pnfs.c | |
parent | pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error (diff) | |
download | linux-dev-75369089820473eac45e9ddd970081901a373c08.tar.xz linux-dev-75369089820473eac45e9ddd970081901a373c08.zip |
SUNRPC: Ensure the bvecs are reset when we re-encode the RPC request
The bvec tracks the list of pages, so if the number of pages changes
due to a re-encode, we need to reset the bvec as well.
Fixes: 277e4ab7d530 ("SUNRPC: Simplify TCP receive code by switching...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v4.20+
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions