diff options
author | Anand Jain | 2015-08-14 18:32:50 +0800 |
---|---|---|
committer | David Sterba | 2015-09-29 16:29:59 +0200 |
commit | c1b7e474595b1b3a4463450cc22aa18b926093a3 (patch) | |
tree | 2ae2b83a7c7852dfffa906f8e1818869c9c2c705 /fs/btrfs/volumes.c | |
parent | 325760404820e070bb20be0ce57e8d684d69a2ac (diff) |
Btrfs: rename super_kobj to fsid_kobj
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 003d3ddeb78b..643879208f05 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2350,7 +2350,7 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path) */ snprintf(fsid_buf, BTRFS_UUID_UNPARSED_SIZE, "%pU", root->fs_info->fsid); - if (kobject_rename(&root->fs_info->fs_devices->super_kobj, + if (kobject_rename(&root->fs_info->fs_devices->fsid_kobj, fsid_buf)) pr_warn("BTRFS: sysfs: failed to create fsid for sprout\n"); } |