nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays
authorWeston Andros Adamson <dros@monkey.org>
Tue, 1 Aug 2017 20:25:01 +0000 (16:25 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 8 Aug 2017 21:18:10 +0000 (17:18 -0400)
commit1feb26162bee7b2f110facfec71b5c7bdbc7d14d
tree641e11300f9ee4d77c50b7ddd231c390183f7f87
parentd9cb73300ac0001832c048a489c592263fc28193
nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays

The client was freeing the nfs4_ff_layout_ds, but not the contained
nfs4_ff_ds_version array.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Cc: stable@vger.kernel.org # v4.0+
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/flexfilelayout/flexfilelayoutdev.c