libceph: harden ceph_osdc_request_release() a bit
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 20 Jun 2014 10:14:42 +0000 (14:14 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 8 Jul 2014 11:08:43 +0000 (15:08 +0400)
commit6562d661d205ff9bd855345d6424b9fb07adaf62
tree8cfb45d6aa665360d1044609f3a4caee667b3e69
parent9e94af202afd961da39f82b55ba83edd4ad30e98
libceph: harden ceph_osdc_request_release() a bit

Add some WARN_ONs to alert us when we try to destroy requests that are
still registered.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osd_client.c