]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: fix memory leak in nfsd4_encode_fattr()
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 10 Mar 2014 04:52:07 +0000 (12:52 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 31 Mar 2014 21:08:23 +0000 (17:08 -0400)
commit31e3ecc4d7729ff7c27f150bd8d4e1c3e2b4ce54
tree4eb33055d8f96ed72fe2c31a3c1677199de238b5
parentd132a70bc764b635ffccf2a77ca640d04068ee51
nfsd4: fix memory leak in nfsd4_encode_fattr()

fh_put() does not free the temporary file handle.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c