From: Alex Elder Date: Fri, 26 Oct 2012 22:25:24 +0000 (-0500) Subject: rbd: add reference counting to rbd_spec X-Git-Tag: v3.8-rc1~21^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b8fb99c5c93a0bdfe7b0c0c9fd2d41a3244555e;p=pandora-kernel.git rbd: add reference counting to rbd_spec With layered images we'll share rbd_spec structures, so add a reference count to it. It neatens up some code also. A silly get/put pair is added to the alloc routine just to avoid "defined but not used" warnings. It will go away soon. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed