dm thin metadata: use true/false for bool variable
authorzhengbin <zhengbin13@huawei.com>
Tue, 24 Dec 2019 06:38:03 +0000 (14:38 +0800)
committerMike Snitzer <snitzer@redhat.com>
Tue, 7 Jan 2020 17:07:24 +0000 (12:07 -0500)
commit63ee92d1c2531008c9e5d73db2f2a1349961b10a
treed0d66b94e2cdc3a4ceecdbe4b49200d0f5078afb
parent1d1dda8ca8ca0586df87d898e59cd69110d3d74b
dm thin metadata: use true/false for bool variable

Fixes coccicheck warning:

drivers/md/dm-thin-metadata.c:814:3-14: WARNING: Assignment of 0/1 to bool variable
drivers/md/dm-thin-metadata.c:1109:1-12: WARNING: Assignment of 0/1 to bool variable
drivers/md/dm-thin-metadata.c:1621:1-12: WARNING: Assignment of 0/1 to bool variable
drivers/md/dm-thin-metadata.c:1652:1-12: WARNING: Assignment of 0/1 to bool variable
drivers/md/dm-thin-metadata.c:1706:1-12: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin-metadata.c