summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-10-26 17:25:24 -0500
committerAlex Elder <elder@inktank.com>2012-11-01 07:55:41 -0500
commit8b8fb99c5c93a0bdfe7b0c0c9fd2d41a3244555e (patch)
tree2d94f2e8a322f80c4f1a3e98d353c8c13f6dd082 /drivers/memory
parent0d7dbfce9d6e3a57a6946fadf7f92b1792b8acc0 (diff)
downloadblackbird-op-linux-8b8fb99c5c93a0bdfe7b0c0c9fd2d41a3244555e.tar.gz
blackbird-op-linux-8b8fb99c5c93a0bdfe7b0c0c9fd2d41a3244555e.zip
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud