3.8.13.22 -stable review patch. If anyone has any objections, please let me know.
------------------ From: "Yan, Zheng" <[email protected]> commit 18df11d0eacf67bbcd8dda755b568bbbd7264735 upstream. fh_put() does not free the temporary file handle. Signed-off-by: Yan, Zheng <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]> [ kamal: backport to 3.8 (context) ] Signed-off-by: Kamal Mostafa <[email protected]> --- fs/nfsd/nfs4xdr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index dc12d02..1418028 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -2430,8 +2430,10 @@ out_acl: out: kfree(acl); - if (fhp == &tempfh) + if (fhp == &tempfh) { fh_put(&tempfh); + kfree(tempfh); + } return status; out_nfserr: status = nfserrno(err); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

