Trond Myklebust 8a9ccffb3c pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
[ Upstream commit 814b84971388cd5fb182f2e914265b3827758455 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-03 23:23:26 +01:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2018-08-09 12:56:38 -04:00
2017-11-17 14:18:00 -08:00
2018-08-09 12:56:38 -04:00
2020-02-14 16:33:23 -05:00
2020-01-17 19:47:04 +01:00
2020-02-24 08:34:53 +01:00
2018-01-30 19:03:48 -08:00
2019-09-21 07:17:02 +02:00
2018-05-31 15:02:16 -04:00