xen/blkback: Change xen_vbd's flush_support and discard_secure to have type unsigned int, rather than bool

Changing the type of bdev parameters to be unsigned int :1, rather than bool.
This is more consistent with the types of other features in the block drivers.

Signed-off-by: Oliver Chick <oliver.chick@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Oliver Chick 2012-09-21 10:04:18 +01:00 коммит произвёл Jens Axboe
Родитель b7010ede43
Коммит 1f999572f2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -158,8 +158,8 @@ struct xen_vbd {
struct block_device *bdev; struct block_device *bdev;
/* Cached size parameter. */ /* Cached size parameter. */
sector_t size; sector_t size;
bool flush_support; unsigned int flush_support:1;
bool discard_secure; unsigned int discard_secure:1;
}; };
struct backend_info; struct backend_info;