Btrfs: sysfs: don't fail seeding for the sake of sysfs kobject issue
authorAnand Jain <anand.jain@oracle.com>
Mon, 9 Mar 2015 22:38:40 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:22 +0000 (12:27 +0200)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/volumes.c

index b5cc129bfa4b26f2cb433cc7829a00ca528166a1..b851964b7345a32034d39fbb4d07986e1dd2260d 100644 (file)
@@ -2258,7 +2258,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
                                                root->fs_info->fsid);
                if (kobject_rename(&root->fs_info->fs_devices->super_kobj,
                                                                fsid_buf))
-                       goto error_trans;
+                       pr_warn("BTRFS: sysfs: failed to create fsid for sprout\n");
        }
 
        root->fs_info->num_tolerated_disk_barrier_failures =