commit | 8ad42cd0c002fa278f6d0135e22fcb188e400a28 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Sun Apr 28 23:32:34 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:20:05 2013 -0700 |
tree | 802d421f6ea5637541218df660bbd83b16e04b00 | |
parent | 6fd48b3be9f6d195a970b92040d097b5b886a99b [diff] |
rbd: don't have device release destroy rbd_dev Currently an rbd_device structure gets destroyed from the release routine for the device embedded within it. Stop doing that, instead calling rbd_dev_image_release() right after rbd_bus_del_dev() wherever the latter is called. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>