diff options
author | Anand Jain <anand.jain@oracle.com> | 2019-11-21 17:33:32 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-01-20 16:40:49 +0100 |
commit | c6761a9ed329dd41fee09dc2926126768e5ca34c (patch) | |
tree | a438ec5dc76cd399ea3f005d83f31b5f7aa31175 /fs/btrfs/disk-io.c | |
parent | b5501504cb6a70d55c3dcf1b2ceb15386e615237 (diff) | |
download | blackbird-op-linux-c6761a9ed329dd41fee09dc2926126768e5ca34c.tar.gz blackbird-op-linux-c6761a9ed329dd41fee09dc2926126768e5ca34c.zip |
btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parent
Commit 24bd69cb ("Btrfs: sysfs: add support to add parent for fsid")
added parent argument in preparation to show the seed fsid under the
sprout fsid as in the patch [1] in the mailing list.
[1] Btrfs: sysfs: support seed devices in the sysfs layout
But later this idea was superseded by another idea to rename the fsid as
in the commit f93c39970b1d ("btrfs: factor out sysfs code for updating
sprout fsid").
So we don't need parent argument anymore.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e0edfdc9c82b..639104326691 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3082,7 +3082,7 @@ int __cold open_ctree(struct super_block *sb, btrfs_free_extra_devids(fs_devices, 1); - ret = btrfs_sysfs_add_fsid(fs_devices, NULL); + ret = btrfs_sysfs_add_fsid(fs_devices); if (ret) { btrfs_err(fs_info, "failed to init sysfs fsid interface: %d", ret); |