Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

btrfs: rename add_device_membership to btrfs_kobj_add_device

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>

authored by

Anand Jain and committed by
Chris Mason
9b4eaf43 8408c716

+2 -2
+2 -2
fs/btrfs/sysfs.c
··· 605 605 } 606 606 } 607 607 608 - static int add_device_membership(struct btrfs_fs_info *fs_info) 608 + static int btrfs_kobj_add_device(struct btrfs_fs_info *fs_info) 609 609 { 610 610 int error = 0; 611 611 struct btrfs_fs_devices *fs_devices = fs_info->fs_devices; ··· 666 666 if (error) 667 667 goto failure; 668 668 669 - error = add_device_membership(fs_info); 669 + error = btrfs_kobj_add_device(fs_info); 670 670 if (error) 671 671 goto failure; 672 672