Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2f065ddb authored by Trond Myklebust's avatar Trond Myklebust
Browse files

pNFS: Layoutreturn must free the layout after the layout-private data



The layout-private data may depend on the layout and/or the inode
still existing when it does post-processing and frees its data, so we
need to free them after calling lrp->ld_private.ops->free().

This fixes a mirror list corruption issue in the flexfiles driver.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent cb067935
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment