diff options
| author | 2016-12-07 12:29:26 -0500 | |
|---|---|---|
| committer | 2016-12-07 13:41:59 -0500 | |
| commit | 2f065ddb64193ebf9cd600395d4782287cd0f58e (patch) | |
| tree | 3317f39d8df34fd64a5e8e47b47b14b91e61fe9f /fs/nfs/flexfilelayout/flexfilelayoutdev.c | |
| parent | pNFS/flexfiles: Fix ff_layout_add_ds_error_locked() (diff) | |
| download | linux-dev-2f065ddb64193ebf9cd600395d4782287cd0f58e.tar.xz linux-dev-2f065ddb64193ebf9cd600395d4782287cd0f58e.zip | |
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 <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayoutdev.c')
0 files changed, 0 insertions, 0 deletions
