rbd: refactor rbd_init() a bit
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 13 Dec 2013 13:28:57 +0000 (15:28 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:31:55 +0000 (20:31 +0200)
commite1b4d96dea61c3078775090e8b121f571aab8fda
tree9e37bd2aab0ab5b339862046602c9359d827e4d8
parent90da258b887538ed3a2f904fa593173f26a1adbc
rbd: refactor rbd_init() a bit

Refactor rbd_init() a bit to make it more clear what's going on.

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