Procházet zdrojové kódy

Btrfs: sysfs: btrfs_sysfs_remove_fsid() make it non static

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Anand Jain před 10 roky
rodič
revize
1d1c1be372
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 1
      fs/btrfs/sysfs.c
  2. 1 0
      fs/btrfs/sysfs.h

+ 1 - 1
fs/btrfs/sysfs.c

@@ -529,7 +529,7 @@ static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
 }
 }
 
 
 /* when fs_devs is NULL it will remove all fsid kobject */
 /* when fs_devs is NULL it will remove all fsid kobject */
-static void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
+void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
 {
 {
 	struct list_head *fs_uuids = btrfs_get_fs_uuids();
 	struct list_head *fs_uuids = btrfs_get_fs_uuids();
 
 

+ 1 - 0
fs/btrfs/sysfs.h

@@ -89,4 +89,5 @@ int btrfs_kobj_rm_device(struct btrfs_fs_devices *fs_devices,
 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
 int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
 				struct kobject *parent);
 				struct kobject *parent);
 int btrfs_sysfs_add_device(struct btrfs_fs_devices *fs_devs);
 int btrfs_sysfs_add_device(struct btrfs_fs_devices *fs_devs);
+void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
 #endif /* _BTRFS_SYSFS_H_ */
 #endif /* _BTRFS_SYSFS_H_ */