nfsd: Fix memory leak of so_owner.data in nfs4_stateowner
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 16 Jul 2015 04:05:07 +0000 (12:05 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 10 Aug 2015 20:05:46 +0000 (16:05 -0400)
commitd50ffded7947c052ca91bf02e08d71e3aef8b789
tree3297f8d7adb4f65d884c58b29937d710ec473546
parent47e970bee7e83d997be11d91d2fbc7f64c8bb89e
nfsd: Fix memory leak of so_owner.data in nfs4_stateowner

v2, new helper nfs4_free_stateowner for freeing so_owner.data and sop

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c