]> 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)
commit2c25a030b1e36429924563b190eb823db2d71dc3
tree3f2fac3692634238832e213575350f5aeb854f30
parentfae3c59b14a0342e1f19b98168d9ca44543e41ef
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