Btrfs: sysfs: don't fail seeding for the sake of sysfs kobject issue
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
24bd69cb0f
commit
2421a8cd5f
@ -2258,7 +2258,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
|
|||||||
root->fs_info->fsid);
|
root->fs_info->fsid);
|
||||||
if (kobject_rename(&root->fs_info->fs_devices->super_kobj,
|
if (kobject_rename(&root->fs_info->fs_devices->super_kobj,
|
||||||
fsid_buf))
|
fsid_buf))
|
||||||
goto error_trans;
|
pr_warn("BTRFS: sysfs: failed to create fsid for sprout\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
root->fs_info->num_tolerated_disk_barrier_failures =
|
root->fs_info->num_tolerated_disk_barrier_failures =
|
||||||
|
Loading…
Reference in New Issue
Block a user