]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit24dca799fdbeeb0c955ef2f56a37461e6566aa07
treea025b8325c5925814dd454e116716729e2be23c1
parent848d796c8c918e2d60060992786f82754f539cd4
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