From 0e537a019551cfce70960476f0fdf0d0de23eb5d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 4 Nov 2021 17:03:50 -0700 Subject: [PATCH] Linux 5.16 compat: linux/elevator.h Commit https://github.com/torvalds/linux/commit/2e9bc346 moved the elevator.h header under the block/ directory as part of some refactoring. This turns out not to be a problem since there's no longer anything we need from the header. This has been the case for some time, this change removes the elevator.h include and replaces it with a major.h include. Reviewed-by: Alexander Lobakin Reviewed-by: Tony Hutter Signed-off-by: Brian Behlendorf Closes #12725 --- include/os/linux/kernel/linux/blkdev_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h index 019d5390ad..9fa8884bb7 100644 --- a/include/os/linux/kernel/linux/blkdev_compat.h +++ b/include/os/linux/kernel/linux/blkdev_compat.h @@ -30,9 +30,9 @@ #define _ZFS_BLKDEV_H #include -#include #include #include +#include #include /* for SECTOR_* */ #ifndef HAVE_BLK_QUEUE_FLAG_SET