aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/flexfilelayout/flexfilelayout.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2016-12-07 12:29:26 -0500
committerTrond Myklebust <[email protected]>2016-12-07 13:41:59 -0500
commit2f065ddb64193ebf9cd600395d4782287cd0f58e (patch)
tree3317f39d8df34fd64a5e8e47b47b14b91e61fe9f /fs/nfs/flexfilelayout/flexfilelayout.c
parentcb067935175ca477380806dc80bf5f0bb51f6f71 (diff)
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: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayout.c')
0 files changed, 0 insertions, 0 deletions