diff options
author | Brian Behlendorf <behlendorf1@llnl.gov> | 2021-11-04 17:03:50 -0700 |
---|---|---|
committer | Tony Hutter <hutter2@llnl.gov> | 2021-11-05 07:51:21 -0700 |
commit | 0e537a019551cfce70960476f0fdf0d0de23eb5d (patch) | |
tree | 8b2c852cbd844c27826827060ce6400aa8fce7f7 | |
parent | db9e1c907a5b9d9a8a9d084ecaac0f4a0277599c (diff) |
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 <alobakin@pm.me>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12725
-rw-r--r-- | include/os/linux/kernel/linux/blkdev_compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h index 019d5390a..9fa8884bb 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 <linux/blkdev.h> -#include <linux/elevator.h> #include <linux/backing-dev.h> #include <linux/hdreg.h> +#include <linux/major.h> #include <linux/msdos_fs.h> /* for SECTOR_* */ #ifndef HAVE_BLK_QUEUE_FLAG_SET |