]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rbd: define rbd snap context routines
authorAlex Elder <elder@inktank.com>
Fri, 26 Apr 2013 14:43:47 +0000 (09:43 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:41 +0000 (21:19 -0700)
commit468521c1b1450d8e9bda22df9455deaa4feed00f
treedbd0e9e39a0067a658d8f9ec3c36cac174919fdb
parentc0cd10db4685a76397f32bed246e861705642576
rbd: define rbd snap context routines

Encapsulate the creation of a snapshot context for rbd in a new
function rbd_snap_context_create().  Define rbd wrappers for getting
and dropping references to them once they're created.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c