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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2017 20:43:17 +0000 (13:43 -0700)
commit00f3c2a253f752948c5cac9f3a554407ab43d9c2
tree2e5c33d29ba726f5b29b6d63fceb580e3c5eb9b4
parent0a205d8145c22d83e24ada019b599a33f7bf68ed
nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays

commit 1feb26162bee7b2f110facfec71b5c7bdbc7d14d upstream.

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>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/flexfilelayout/flexfilelayoutdev.c