From: Alex Elder Date: Fri, 26 Oct 2012 04:34:42 +0000 (-0500) Subject: rbd: define rbd_dev_{create,destroy}() helpers X-Git-Tag: v3.8-rc1~21^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53d589337e9a211413484a604c76072e8474dc0;p=pandora-kernel.git rbd: define rbd_dev_{create,destroy}() helpers Encapsulate the creation/initialization and destruction of rbd device structures. The rbd_client and the rbd_spec structures provided on creation hold references whose ownership is transferred to the new rbd_device structure. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed