btrfs: remove unused argument seed from btrfs_find_device
[sfrench/cifs-2.6.git] / fs / btrfs / scrub.c
index 57ee06d9215025a9c762f80ec6a691e9400bbd02..74acb7ca6eda12e7d6dae5b3c76504d0911d954f 100644 (file)
@@ -3885,7 +3885,7 @@ int btrfs_scrub_dev(struct btrfs_fs_info *fs_info, u64 devid, u64 start,
                goto out_free_ctx;
 
        mutex_lock(&fs_info->fs_devices->device_list_mutex);
-       dev = btrfs_find_device(fs_info->fs_devices, devid, NULL, NULL, true);
+       dev = btrfs_find_device(fs_info->fs_devices, devid, NULL, NULL);
        if (!dev || (test_bit(BTRFS_DEV_STATE_MISSING, &dev->dev_state) &&
                     !is_dev_replace)) {
                mutex_unlock(&fs_info->fs_devices->device_list_mutex);
@@ -4062,7 +4062,7 @@ int btrfs_scrub_progress(struct btrfs_fs_info *fs_info, u64 devid,
        struct scrub_ctx *sctx = NULL;
 
        mutex_lock(&fs_info->fs_devices->device_list_mutex);
-       dev = btrfs_find_device(fs_info->fs_devices, devid, NULL, NULL, true);
+       dev = btrfs_find_device(fs_info->fs_devices, devid, NULL, NULL);
        if (dev)
                sctx = dev->scrub_ctx;
        if (sctx)