diff options
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | 2019-12-23 10:48:54 +0100 |
---|---|---|
committer | Song Liu <songliubraving@fb.com> | 2020-01-13 11:44:09 -0800 |
commit | 3e173ab55b990d2b4ceb90bf55a88a96eb88598e (patch) | |
tree | 60a57631e75327e1411910ec9127194b886a4d14 /drivers/md | |
parent | 404659cf1e2570dad3cd117fa3bd71f06ecfd142 (diff) |
md: fix a typo s/creat/create
It actually means create here, so fix the typo.
Reported-by: Song Liu <liu.song.a23@gmail.com>
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index ea37bfacb6fb..8f5def0cb60a 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -5771,14 +5771,14 @@ int md_run(struct mddev *mddev) goto bitmap_abort; if (mddev->bitmap_info.max_write_behind > 0) { - bool creat_pool = false; + bool create_pool = false; rdev_for_each(rdev, mddev) { if (test_bit(WriteMostly, &rdev->flags) && rdev_init_serial(rdev)) - creat_pool = true; + create_pool = true; } - if (creat_pool && mddev->serial_info_pool == NULL) { + if (create_pool && mddev->serial_info_pool == NULL) { mddev->serial_info_pool = mempool_create_kmalloc_pool(NR_SERIAL_INFOS, sizeof(struct serial_info)); |