]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
md: fix a typo s/creat/create
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Mon, 23 Dec 2019 09:48:54 +0000 (10:48 +0100)
committerSong Liu <songliubraving@fb.com>
Mon, 13 Jan 2020 19:44:09 +0000 (11:44 -0800)
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>
drivers/md/md.c

index ea37bfacb6fb47f756270b096e0f14fdef0ea18a..8f5def0cb60a94cfa5e0c5e9e2c1f256dd6481e5 100644 (file)
@@ -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));