Alex Elder d1cf578845 rbd: set mapping info earlier
Set the mapping size and features earlier in rbd_dev_probe_finish().

Define rbd_dev_mapping_clear() as an inverse for setting those
fields, and use it both in error handling in rbd_dev_image_probe()
and in the final cleanup in rbd_dev_release().  Change the name
of rbd_dev_set_mapping() to of rbd_dev_mapping_set().

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-05-01 21:19:51 -07:00
..
2013-04-05 19:29:36 -07:00
2013-04-09 18:03:25 +01:00
2013-05-01 21:19:51 -07:00
2013-02-21 15:27:22 -08:00
2013-04-05 21:02:17 +08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-01 13:39:00 -08:00
2013-03-27 09:25:11 -07:00
2013-04-19 17:57:48 -04:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-04-07 15:11:27 +03:00
2013-02-27 19:10:18 -08:00
2013-04-05 10:04:41 -07:00
2013-04-26 07:59:23 -07:00
2013-02-27 19:10:19 -08:00
2013-04-10 15:57:33 -07:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00