]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sysfs, merge btrfs_sysfs_add devices_kobj and fsid
authorAnand Jain <anand.jain@oracle.com>
Thu, 21 Nov 2019 09:33:34 +0000 (17:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 20 Jan 2020 15:40:50 +0000 (16:40 +0100)
commit6dfd723ae85ef2e6b6d52f6ce4aa9b09b2dfa95f
treefc4f8180e0c32d8ea7929e48da193e5b5bb95463
parenta6fa90b16505c87ddbb237c36e488a1d264a5d09
btrfs: sysfs, merge btrfs_sysfs_add devices_kobj and fsid

Merge btrfs_sysfs_add_fsid() and btrfs_sysfs_add_devices_kobj() functions
as these two are small and they are called one after the other.

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