linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir
       [not found] <202009110113.Eg6BMMot%lkp@intel.com>
@ 2020-09-10 22:09 ` Anand Jain
  2020-09-11 12:03   ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2020-09-10 22:09 UTC (permalink / raw)
  To: linux-btrfs, dsterba

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(-)

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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir
  2020-09-10 22:09 ` [PATCH] fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir Anand Jain
@ 2020-09-11 12:03   ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2020-09-11 12:03 UTC (permalink / raw)
  To: Anand Jain; +Cc: linux-btrfs, dsterba

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-11 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202009110113.Eg6BMMot%lkp@intel.com>
2020-09-10 22:09 ` [PATCH] fixup: btrfs: simplify parameters of btrfs_sysfs_add_devices_dir Anand Jain
2020-09-11 12:03   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).