summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Chick <oliver.chick@citrix.com>2012-09-21 10:04:18 +0100
committerJens Axboe <axboe@kernel.dk>2012-10-30 08:37:20 +0100
commit1f999572f244f266c5b1b855025723541b0b475d (patch)
tree7861283512cf0170ccf0ccc63b80f006c0e700b6
parentb7010ede4342d3ab9f9a0c51c1aa50139aacadaf (diff)
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>
-rw-r--r--drivers/block/xen-blkback/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index 9ad3b5ec1dc..9a54623e52d 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -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;