aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/flexfilelayout/flexfilelayoutdev.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2017-08-24 19:28:38 +0800
committerAlex Shi <alex.shi@linaro.org>2017-08-24 19:28:38 +0800
commit7c6819fafcd4d26f655ad9b0441f79773c69cf99 (patch)
treef1345c2c196f58257d1f338b9f2752f470c44923 /fs/nfs/flexfilelayout/flexfilelayoutdev.c
parent5d296e2cec6ebbb062829078ffcd36a205c9b293 (diff)
parenta97a16f18c4895e41951a44d27af8af0b8f1d897 (diff)
Merge tag 'v4.9.44' into linux-linaro-lsk-v4.9lsk-v4.9-17.08
This is the 4.9.44 stable release
Diffstat (limited to 'fs/nfs/flexfilelayout/flexfilelayoutdev.c')
-rw-r--r--fs/nfs/flexfilelayout/flexfilelayoutdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/flexfilelayout/flexfilelayoutdev.c b/fs/nfs/flexfilelayout/flexfilelayoutdev.c
index f7a3f6b05369..90099896b838 100644
--- a/fs/nfs/flexfilelayout/flexfilelayoutdev.c
+++ b/fs/nfs/flexfilelayout/flexfilelayoutdev.c
@@ -30,6 +30,7 @@ void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds)
{
nfs4_print_deviceid(&mirror_ds->id_node.deviceid);
nfs4_pnfs_ds_put(mirror_ds->ds);
+ kfree(mirror_ds->ds_versions);
kfree_rcu(mirror_ds, id_node.rcu);
}