]> git.karo-electronics.de Git - karo-tx-linux.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)
commit18df11d0eacf67bbcd8dda755b568bbbd7264735
tree4eb33055d8f96ed72fe2c31a3c1677199de238b5
parent3064639423c48d6e0eb9ecc27c512a58e38c6c57
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