sunrpc: fix leak on error on socket xprt setup
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 26 May 2010 12:42:24 +0000 (08:42 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 26 May 2010 12:43:50 +0000 (08:43 -0400)
commit0a68b0bed08eeb7ec62e0125f17856b1ccb1ea4b
tree2f131868f81599273693d0481a4166277c4f1077
parentb1cdc4670b9508fcd47a15fbd12f70d269880b37
sunrpc: fix leak on error on socket xprt setup

Also collect exit code together while we're at it.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c