From: Alex Elder Date: Tue, 3 Jul 2012 21:01:19 +0000 (-0500) Subject: rbd: add code to get the size of a v2 rbd image X-Git-Tag: v3.7-rc1~90^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d475de5d12af8ac4c2101807e0a889ac7389c5a;p=pandora-kernel.git rbd: add code to get the size of a v2 rbd image The size of an rbd format 2 image is fetched from the server using a "get_size" method. The same method is used for getting the size of a snapshot, so structure this addition with a generic helper routine that we can get this information for either. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed