]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
UBUNTU: hio -- Update blk_queue_split() calls for changes in 5.9-rc1
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 19 Aug 2020 16:12:36 +0000 (11:12 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Feb 2021 07:25:56 +0000 (08:25 +0100)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
ubuntu/hio/hio.c

index 696f8b837e82aeb9c929b011aee422f4886810de..c7f1ab7f16bc8807b1d67875e5f68eaa2a33d560 100644 (file)
@@ -8526,7 +8526,9 @@ static int ssd_make_request(struct request_queue *q, struct bio *bio)
                goto out;
        }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0))
+       blk_queue_split(&bio);
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0))
        blk_queue_split(q, &bio);
 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0))
        blk_queue_split(q, &bio, q->bio_split);