diff options
author | Mike Snitzer <snitzer@redhat.com> | 2013-12-17 13:43:31 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-01-07 10:14:18 -0500 |
commit | 7f214665124401db3d171fd1f9f1ec6552b38b36 (patch) | |
tree | 6ea86aed4531f8cc395f01a51bf88fa4ce05b9ff /drivers/md/dm-thin-metadata.h | |
parent | 10343180f5c4023043e82d46e71048e68f975f50 (diff) |
dm thin: use bool rather than unsigned for flags in structures
Also, move 'err' member in dm_thin_new_mapping structure to eliminate 4
byte hole (reduces size from 88 bytes to 80).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
-rw-r--r-- | drivers/md/dm-thin-metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-thin-metadata.h b/drivers/md/dm-thin-metadata.h index 2edf5dbac76a..9a368567632f 100644 --- a/drivers/md/dm-thin-metadata.h +++ b/drivers/md/dm-thin-metadata.h | |||
@@ -131,7 +131,7 @@ dm_thin_id dm_thin_dev_id(struct dm_thin_device *td); | |||
131 | 131 | ||
132 | struct dm_thin_lookup_result { | 132 | struct dm_thin_lookup_result { |
133 | dm_block_t block; | 133 | dm_block_t block; |
134 | unsigned shared:1; | 134 | bool shared:1; |
135 | }; | 135 | }; |
136 | 136 | ||
137 | /* | 137 | /* |