]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: kill rbd_image_header::{crypt_type,comp_type}
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Jan 2017 17:16:21 +0000 (18:16 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:12 +0000 (12:16 +0100)
commitcd5a20f9f8226cd7857c232cf937cd2263527204
treea025b8325c5925814dd454e116716729e2be23c1
parentedbb6475eec0f37c56beb1d2271a87be9cb45f0c
rbd: kill rbd_image_header::{crypt_type,comp_type}

Image format 1 is deprecated and format 2 doesn't have these.  Also,
__rbd_dev_create() takes care of zeroing (or otherwise initializing)
format 2 specific fields.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
drivers/block/rbd.c
drivers/block/rbd_types.h