]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: change btrfs_fs_devices::seeding to bool
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 13 Nov 2019 10:27:27 +0000 (11:27 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 16:51:51 +0000 (17:51 +0100)
commit752eb28098d5abc70c70a2d2c93112dd9c99b9b2
tree49565636869deea27cf545f279b4626b4ddbf88b
parentab0410b71123f9cacf7eb5fa7d68ef335c87935e
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>
fs/btrfs/volumes.c
fs/btrfs/volumes.h