rbd: decrement obj request count when deleting
commit25dcf954c3230946b5f3e18db9f91d7640eff76e
authorAlex Elder <elder@inktank.com>
Fri, 25 Jan 2013 23:08:55 +0000 (25 17:08 -0600)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 02:29:10 +0000 (13 18:29 -0800)
treecc7e5d7f69c3ab1dd49deea447fb697675bff5a3
parent975241afcbba82ab1ddc6ebf8a02246d1e9314fd
rbd: decrement obj request count when deleting

Decrement the obj_request_count value when deleting an object
request from its image request's list.  Rearrange a few lines
in the surrounding code.

This resolves:
    http://tracker.ceph.com/issues/3940

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c