]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
xen/blkback: Change xen_vbd's flush_support and discard_secure to have type unsigned...
authorOliver Chick <oliver.chick@citrix.com>
Fri, 21 Sep 2012 09:04:18 +0000 (10:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Oct 2012 07:37:20 +0000 (08:37 +0100)
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>
drivers/block/xen-blkback/common.h

index 9ad3b5ec1dc1c521085db47a7928cc8cf1179701..9a54623e52d74ecc77953937bd923a9ecdb68d09 100644 (file)
@@ -158,8 +158,8 @@ struct xen_vbd {
        struct block_device     *bdev;
        /* Cached size parameter. */
        sector_t                size;
-       bool                    flush_support;
-       bool                    discard_secure;
+       unsigned int            flush_support:1;
+       unsigned int            discard_secure:1;
 };
 
 struct backend_info;