commit | 814b84971388cd5fb182f2e914265b3827758455 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Jan 21 16:34:37 2021 -0500 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Jan 24 20:52:30 2021 -0500 |
tree | 8ea5e8f9f5b6e696b8174167b60b5a180cfc0fc1 | |
parent | 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 [diff] |
pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process() If the server returns a new stateid that does not match the one in our cache, then pnfs_layout_process() will leak the layout segments returned by pnfs_mark_layout_stateid_invalid(). Fixes: 9888d837f3cf ("pNFS: Force a retry of LAYOUTGET if the stateid doesn't match our cache") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>