bcache: Fix register_device_aync typo

Should be `register_device_async`.

Cc: Coly Li <colyli@suse.de>
Signed-off-by: Kai Krakow <kai@kaishome.de>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Kai Krakow 2021-02-10 13:07:24 +08:00 committed by Jens Axboe
parent 71dda2a562
commit d7fae7b4fa
1 changed files with 2 additions and 2 deletions

View File

@ -2517,7 +2517,7 @@ static void register_cache_worker(struct work_struct *work)
module_put(THIS_MODULE); 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)) if (SB_IS_BDEV(args->sb))
INIT_DELAYED_WORK(&args->reg_work, register_bdev_worker); 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 = sb;
args->sb_disk = sb_disk; args->sb_disk = sb_disk;
args->bdev = bdev; args->bdev = bdev;
register_device_aync(args); register_device_async(args);
/* No wait and returns to user space */ /* No wait and returns to user space */
goto async_done; goto async_done;
} }