diff options
author | Alex Elder <elder@inktank.com> | 2012-10-25 23:34:42 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-11-01 07:55:42 -0500 |
commit | c53d589337e9a211413484a604c76072e8474dc0 (patch) | |
tree | bd9718b7d7648e80f64e09d6ee483d262815b340 /crypto | |
parent | bd4ba6554dcbae652b8b27a44f5a7795c9f3178a (diff) |
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 <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions