Message ID | de807752385624b9ce46bd3a759a3fa4588051ec.1599775651.git.anand.jain@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir | expand |
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 --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;
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(-)