]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parent
authorAnand Jain <anand.jain@oracle.com>
Thu, 21 Nov 2019 09:33:32 +0000 (17:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 20 Jan 2020 15:40:49 +0000 (16:40 +0100)
commit8356116ce4239727aab22ae4c36002e9320b06dc
treea438ec5dc76cd399ea3f005d83f31b5f7aa31175
parent626871f86ca7694ab27d385e799834a245557db9
btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parent

Commit 82631319 ("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 46e23fb6419b ("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>
fs/btrfs/disk-io.c
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h