diff mbox series

fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir

Message ID de807752385624b9ce46bd3a759a3fa4588051ec.1599775651.git.anand.jain@oracle.com
State New, archived
Headers show
Series fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir | expand

Commit Message

Anand Jain Sept. 10, 2020, 10:09 p.m. UTC
Add static to btrfs_sysfs_add_fs_devices()

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
Can you please roll this into the commit fd8e11fb8ffc
  btrfs: simplify parameters of btrfs_sysfs_add_devices_dir
on misc-next

 fs/btrfs/sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Sterba Sept. 11, 2020, 12:03 p.m. UTC | #1
On Fri, Sep 11, 2020 at 06:09:27AM +0800, Anand Jain wrote:
> Add static to btrfs_sysfs_add_fs_devices()
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
> Can you please roll this into the commit fd8e11fb8ffc
>   btrfs: simplify parameters of btrfs_sysfs_add_devices_dir
> on misc-next

Folded in, thanks.
diff mbox series

Patch

diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 1f14b08cc04f..bc341560dc69 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -1352,7 +1352,7 @@  int btrfs_sysfs_add_device(struct btrfs_device *device)
 	return ret;
 }
 
-int btrfs_sysfs_add_fs_devices(struct btrfs_fs_devices *fs_devices)
+static int btrfs_sysfs_add_fs_devices(struct btrfs_fs_devices *fs_devices)
 {
 	int ret;
 	struct btrfs_device *device;