net/9p: p9_idpool_get return -1 on error
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 20 May 2011 18:55:52 +0000 (18:55 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Wed, 25 May 2011 13:46:38 +0000 (08:46 -0500)
commitfe1cbabaea5e99a93bafe12fbf1b3b9cc71b610a
tree370e20e37796404602072f08b430ce04c6eb8188
parent398c4f0efb5c2f07fe2f5cd67031b15fd3e920c9
net/9p: p9_idpool_get return -1 on error

We need to return -1 on error. Also handle error properly

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
net/9p/client.c
net/9p/util.c