git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7dbfc
)
rbd: add reference counting to rbd_spec
author
Alex Elder
<elder@inktank.com>
Fri, 26 Oct 2012 22:25:24 +0000
(17:25 -0500)
committer
Alex Elder
<elder@inktank.com>
Thu, 1 Nov 2012 12:55:41 +0000
(07:55 -0500)
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>
No differences found