From: Alex Elder Date: Tue, 3 Jul 2012 21:01:19 +0000 (-0500) Subject: rbd: get snapshot name for a v2 image X-Git-Tag: v3.7-rc1~90^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b1e2db52de61f575981d0c23da785a7c5b4a77;p=pandora-kernel.git rbd: get snapshot name for a v2 image Define rbd_dev_v2_snap_name() to fetch the name for a particular snapshot in a format 2 rbd image. Define rbd_dev_v2_snap_info() to to be a wrapper for getting the name, size, and features for a particular snapshot, using an interface that matches the equivalent function for version 1 images. Define rbd_dev_snap_info() wrapper function and use it to call the appropriate function for getting the snapshot name, size, and features, dependent on the rbd image format. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed