]> git.baikalelectronics.ru Git - kernel.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)
commit5a9588ef88fd797fba9b1da6ba8a40fae431cadf
tree3f2fac3692634238832e213575350f5aeb854f30
parentbbc6aafa85cdd85f32e6be6bad86bc63b4ee208e
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