From: Alex Elder Date: Fri, 26 Oct 2012 04:34:42 +0000 (-0500) Subject: rbd: consolidate rbd_dev init in rbd_add() X-Git-Tag: v3.8-rc1~21^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4ba6554dcbae652b8b27a44f5a7795c9f3178a;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed