9p: fix p9_client_destroy unconditional calling v9fs_put_trans
authorEric Van Hensbergen <ericvh@gmail.com>
Tue, 9 Feb 2010 00:18:34 +0000 (18:18 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Tue, 9 Feb 2010 00:18:34 +0000 (18:18 -0600)
commit8781ff9495578dbb74065fae55305110d9f81cb9
tree01c42dc85934c729ee8d13e778ce991fad1f58e5
parentbf2d29c64dd777e9a40bc4533e721944a590250f
9p: fix p9_client_destroy unconditional calling v9fs_put_trans

restructure client create code to handle error cases better and
only cleanup initialized portions of the stack.

Signed-off-by: Venkateswararao Jujjuri <jvrao@us.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/client.c