rbd: get the snapshot context for a v2 image
authorAlex Elder <elder@inktank.com>
Tue, 3 Jul 2012 21:01:19 +0000 (16:01 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:53 +0000 (14:30 -0500)
commit35d489f94651ac19be55661732a7ee15c6304a55
treee6e86b44f650d01eababc6c36a8cd4e02e90d608
parentb1b5402aa9c4a9aeb8431886e41b0a1d127318d1
rbd: get the snapshot context for a v2 image

Fetch the snapshot context for an rbd format 2 image by calling
the "get_snapcontext" method on its header object.

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