diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2011-11-10 14:33:23 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-11-10 14:50:07 -0500 |
commit | 2aa13531bbbc6582874bedfcd853e1058b0fb4f9 (patch) | |
tree | 6dc0ad696b49bdf6f68382900775a19fb289bf25 /fs/nfs/pnfs.c | |
parent | a6f498a891c730327645a7afa10c5ae977de6fd8 (diff) | |
download | op-kernel-dev-2aa13531bbbc6582874bedfcd853e1058b0fb4f9.zip op-kernel-dev-2aa13531bbbc6582874bedfcd853e1058b0fb4f9.tar.gz |
SUNRPC: destroy freshly allocated transport in case of sockaddr init error
Otherwise we will leak xprt structure and struct net reference.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions