* [PATCH] bcache: Fix register_device_aync typo
@ 2021-01-28 14:33 Kai Krakow
2021-01-28 15:16 ` Coly Li
0 siblings, 1 reply; 2+ messages in thread
From: Kai Krakow @ 2021-01-28 14:33 UTC (permalink / raw)
To: linux-bcache; +Cc: Kai Krakow, Coly Li
Should be `register_device_async`.
Cc: Coly Li <colyli@suse.de>
Signed-off-by: Kai Krakow <kai@kaishome.de>
---
drivers/md/bcache/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
index 2047a9cccdb5d..e7d1b52c5cc8b 100644
--- a/drivers/md/bcache/super.c
+++ b/drivers/md/bcache/super.c
@@ -2517,7 +2517,7 @@ static void register_cache_worker(struct work_struct *work)
module_put(THIS_MODULE);
}
-static void register_device_aync(struct async_reg_args *args)
+static void register_device_async(struct async_reg_args *args)
{
if (SB_IS_BDEV(args->sb))
INIT_DELAYED_WORK(&args->reg_work, register_bdev_worker);
@@ -2611,7 +2611,7 @@ static ssize_t register_bcache(struct kobject *k, struct kobj_attribute *attr,
args->sb = sb;
args->sb_disk = sb_disk;
args->bdev = bdev;
- register_device_aync(args);
+ register_device_async(args);
/* No wait and returns to user space */
goto async_done;
}
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bcache: Fix register_device_aync typo
2021-01-28 14:33 [PATCH] bcache: Fix register_device_aync typo Kai Krakow
@ 2021-01-28 15:16 ` Coly Li
0 siblings, 0 replies; 2+ messages in thread
From: Coly Li @ 2021-01-28 15:16 UTC (permalink / raw)
To: Kai Krakow; +Cc: linux-bcache
On 1/28/21 10:33 PM, Kai Krakow wrote:
> Should be `register_device_async`.
>
> Cc: Coly Li <colyli@suse.de>
> Signed-off-by: Kai Krakow <kai@kaishome.de>
Thanks for the catch :-) I add it into my 5.12 for-next.
Coly Li
> ---
> drivers/md/bcache/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c
> index 2047a9cccdb5d..e7d1b52c5cc8b 100644
> --- a/drivers/md/bcache/super.c
> +++ b/drivers/md/bcache/super.c
> @@ -2517,7 +2517,7 @@ static void register_cache_worker(struct work_struct *work)
> module_put(THIS_MODULE);
> }
>
> -static void register_device_aync(struct async_reg_args *args)
> +static void register_device_async(struct async_reg_args *args)
> {
> if (SB_IS_BDEV(args->sb))
> INIT_DELAYED_WORK(&args->reg_work, register_bdev_worker);
> @@ -2611,7 +2611,7 @@ static ssize_t register_bcache(struct kobject *k, struct kobj_attribute *attr,
> args->sb = sb;
> args->sb_disk = sb_disk;
> args->bdev = bdev;
> - register_device_aync(args);
> + register_device_async(args);
> /* No wait and returns to user space */
> goto async_done;
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-28 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28 14:33 [PATCH] bcache: Fix register_device_aync typo Kai Krakow
2021-01-28 15:16 ` Coly Li
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).