]> git.hungrycats.org Git - linux/commitdiff
Revert "zygo: preferred_metadata: fixup btrfs_find_device"
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Fri, 19 Nov 2021 12:22:12 +0000 (07:22 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Fri, 19 Nov 2021 12:22:12 +0000 (07:22 -0500)
This reverts commit b9bbd2c92512961af0d8baf449301020841ec389.

fs/btrfs/ioctl.c

index 2d820841b0a10f7bb532c65974ee2bd5446747fa..67cb40d815ebea6621b3a4bb6a8313173d9cb111 100644 (file)
@@ -4952,7 +4952,7 @@ static long btrfs_ioctl_dev_properties(struct file *file,
                return -EFAULT;
 
        device = btrfs_find_device(fs_info->fs_devices, dev_props.devid,
-                               NULL, NULL);
+                               NULL, NULL, false);
        if (!device) {
                btrfs_info(fs_info, "change_dev_properties: unable to find device %llu",
                           dev_props.devid);