diff options
author | Alex Elder <elder@inktank.com> | 2012-07-03 16:01:19 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:54 -0500 |
commit | 6e14b1a6c3b8d7e48ece68733d2dac0464611ee4 (patch) | |
tree | ff1c6851a6de987cf932a90277e830f00867964f /fs/ceph | |
parent | b8b1e2db52de61f575981d0c23da785a7c5b4a77 (diff) | |
download | linux-6e14b1a6c3b8d7e48ece68733d2dac0464611ee4.tar.gz linux-6e14b1a6c3b8d7e48ece68733d2dac0464611ee4.tar.bz2 linux-6e14b1a6c3b8d7e48ece68733d2dac0464611ee4.zip |
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 <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions