rbd: encapsulate last part of probe
authorAlex Elder <elder@inktank.com>
Tue, 30 Oct 2012 20:47:17 +0000 (15:47 -0500)
committerAlex Elder <elder@inktank.com>
Thu, 1 Nov 2012 12:55:42 +0000 (07:55 -0500)
commit83a06263625b823afa3a842ddbf53473c22f24b2
tree127904c100783d47866191a761b4a2c436011369
parentc53d589337e9a211413484a604c76072e8474dc0
rbd: encapsulate last part of probe

Group the activities that now take place after an rbd_dev_probe()
call into a single function, and move the call to that function
into rbd_dev_probe() itself.

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