From: Alex Elder Date: Tue, 3 Jul 2012 21:01:19 +0000 (-0500) Subject: rbd: update remaining header fields for v2 X-Git-Tag: v3.7-rc1~90^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e14b1a6c3b8d7e48ece68733d2dac0464611ee4;p=pandora-kernel.git rbd: update remaining header fields for v2 There are three fields that are not yet updated for format 2 rbd image headers: the version of the header object; the encryption type; and the compression type. There is no interface defined for fetching the latter two, so just initialize them explicitly to 0 for now. Change rbd_dev_v2_snap_context() so the caller can be supplied the version for the header object. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed