summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-05 20:13:21 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-05 23:02:14 +0200
commitf05c124a70a4953a66acbd6d6c601ea1eb5d0fa7 (patch)
tree63d6148281fb3ebaf810d705c0813238755c0581 /fs/nfs
parentNFSv4/4.1: Fix bugs in nfs4[01]_walk_client_list (diff)
downloadlinux-f05c124a70a4953a66acbd6d6c601ea1eb5d0fa7.tar.xz
linux-f05c124a70a4953a66acbd6d6c601ea1eb5d0fa7.zip
SUNRPC: Fix a potential memory leak in rpc_new_client
If the call to rpciod_up() fails, we currently leak a reference to the struct rpc_xprt. As part of the fix, we also remove the redundant check for xprt!=NULL. This is already taken care of by the callers. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions