rbd: defer setting device id
authorAlex Elder <elder@inktank.com>
Fri, 27 Jul 2012 04:37:14 +0000 (23:37 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:52 +0000 (14:30 -0500)
commit85ae8926751db5e09b9a12ee44609ee9e74b7aad
treec25795bfa1c0d0fe08a950a2a6f79cb4ed9ab29f
parent05fd6f6f8c7b07e746d513e4cf862675b70aac59
rbd: defer setting device id

Hold off setting the device id and formatting the device name
in rbd_add() until just before it's needed.

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