commit | bd4ba6554dcbae652b8b27a44f5a7795c9f3178a | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Oct 25 23:34:42 2012 -0500 |
committer | Alex Elder <elder@inktank.com> | Thu Nov 01 07:55:42 2012 -0500 |
tree | 18080b60df8735e40ec5e5e8ec30461377eaa162 | |
parent | 9d3997fdf4c82adfb37a4886a21eaa513ee071b6 [diff] |
rbd: consolidate rbd_dev init in rbd_add() Group the allocation and initialization of fields of the rbd device structure created in rbd_add(). Move the grouped code down later in the function, just prior to the call to rbd_dev_probe(). This is for the most part simple code movement. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>