Skip to content
Commit 814b8497 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: 9888d837 ("pNFS: Force a retry of LAYOUTGET if the stateid doesn't match our cache")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 6ee1d745
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment