diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-04-21 20:54:54 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-04-22 01:12:34 +0200 |
commit | 0bf55186263de96c0f7377c631d27d9679d4df27 (patch) | |
tree | 202ed3a4862c881e457ec02ccb9fb29b862c8cfc | |
parent | 412f09ca332c644e08421e289a3e8d54890971ba (diff) | |
download | lvm2-0bf55186263de96c0f7377c631d27d9679d4df27.tar.gz |
coverity: avoid using signed types for single bits
-rw-r--r-- | lib/metadata/lv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata/lv.h b/lib/metadata/lv.h index da8141921..08fc090c7 100644 --- a/lib/metadata/lv.h +++ b/lib/metadata/lv.h @@ -94,8 +94,8 @@ struct historical_logical_volume { uint64_t timestamp_removed; struct generic_logical_volume *indirect_origin; struct dm_list indirect_glvs; /* list of struct generic_logical_volume */ - int checked:1; /* set if this historical LV has been checked for validity */ - int valid:1; /* historical LV is valid if there's at least one live LV among ancestors */ + unsigned checked:1; /* set if this historical LV has been checked for validity */ + unsigned valid:1; /* historical LV is valid if there's at least one live LV among ancestors */ }; struct generic_logical_volume { |