rbd: simplify rbd_init_disk() a bit
authorAlex Elder <elder@inktank.com>
Wed, 29 Aug 2012 22:11:06 +0000 (17:11 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:51 +0000 (14:30 -0500)
commit1fcdb8aa1f58af72eb8206ba97fab2df77df2b14
treea9490606d69803a08a1739044c569257e9e10fa2
parent2ac4e75d89e9df8eea6390a759eac2b6df0ebff6
rbd: simplify rbd_init_disk() a bit

This just simplifies a few things in rbd_init_disk(), now that the
previous patch has moved a bunch of initialization code out if it.
Done separately to facilitate review.

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