]> git.hungrycats.org Git - linux/commitdiff
Revert "zygo: preferred_metadata: fixup btrfs_find_device"
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 5 Dec 2021 08:26:09 +0000 (03:26 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 5 Dec 2021 08:26:09 +0000 (03:26 -0500)
This reverts commit d99c2d9333663fe93ceecb86b56a29926d9a912d.

fs/btrfs/ioctl.c

index 55e84b2fb46c5e01caf93cd2e8e466366c72d7db..db0e1f870d988f8d1863f5c189226803128b0896 100644 (file)
@@ -4990,7 +4990,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);