libceph: fix error handling in ceph_osdc_init()
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 31 Jan 2014 15:49:22 +0000 (17:49 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 3 Feb 2014 17:20:59 +0000 (19:20 +0200)
commitc172ec5c8dc8c09dd5958f4ae542fa321bb15a92
tree5eaa074d38b7518225ed4e82f35b399fe13c317a
parent38dbfb59d1175ef458d006556061adeaa8751b72
libceph: fix error handling in ceph_osdc_init()

msgpool_op_reply message pool isn't destroyed if workqueue construction
fails.  Fix it.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c