]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
NFSv4: Ensure that nfs4_alloc_client cleans up on error.
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Aug 2012 16:12:29 +0000 (12:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Aug 2012 16:12:29 +0000 (12:12 -0400)
commit7653f6ff4ebab2a094e65b60fb19ee66ed2f78e7
tree3f2fac3692634238832e213575350f5aeb854f30
parent12dfd080556124088ed61a292184947711b46cbe
NFSv4: Ensure that nfs4_alloc_client cleans up on error.

Any pointer that was allocated through nfs_alloc_client() needs to be
freed via a call to nfs_free_client().

Reported-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4client.c