Both the variable and the parameter are used as logical indicators so
convert them to bool.
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
 
 static int find_live_mirror(struct btrfs_fs_info *fs_info,
                            struct btrfs_chunk_map *map, int first,
-                           int dev_replace_is_ongoing)
+                           bool dev_replace_is_ongoing)
 {
        const enum btrfs_read_policy policy = READ_ONCE(fs_info->fs_devices->read_policy);
        int i;
        int num_copies;
        struct btrfs_io_context *bioc = NULL;
        struct btrfs_dev_replace *dev_replace = &fs_info->dev_replace;
-       int dev_replace_is_ongoing = 0;
+       bool dev_replace_is_ongoing = false;
        u16 num_alloc_stripes;
        u64 max_len;