diff options
author | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 18:08:08 +0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-27 18:08:08 +0400 |
commit | 0ac55489d9e3898987b2ae305844cf2af86e6b8d (patch) | |
tree | ceacdf378d929bd0037879f42ea6270bc5ba220d /drivers/md/dm-crypt.c | |
parent | 16ad3d103dbec4fe6c5950d5a6c383ba9a5296ef (diff) | |
download | linux-0ac55489d9e3898987b2ae305844cf2af86e6b8d.tar.xz |
dm: use bool bitfields in struct dm_target
Use boolean bit fields for flags in struct dm_target.
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r-- | drivers/md/dm-crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 330f1eaedc42..00a25ab987c9 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -1694,7 +1694,7 @@ static int crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv) } ti->num_flush_requests = 1; - ti->discard_zeroes_data_unsupported = 1; + ti->discard_zeroes_data_unsupported = true; return 0; |