1
0

btrfs: change btrfs_fs_devices::seeding to bool

struct btrfs_fs_devices::seeding currently is declared as an integer
variable but only used as a boolean.

Change the variable definition to bool and update to code touching it to
set 'true' and 'false'.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Este cometimento está contido em:
Johannes Thumshirn
2019-11-13 11:27:27 +01:00
cometido por David Sterba
ascendente 32da5386d9
cometimento 0395d84f8e
2 ficheiros modificados com 5 adições e 5 eliminações

Ver ficheiro

@@ -243,7 +243,7 @@ struct btrfs_fs_devices {
struct list_head alloc_list;
struct btrfs_fs_devices *seed;
int seeding;
bool seeding;
int opened;