mirror_zfs/include/os/linux/kernel/linux
Coleman Kane 3b8e318b77
Linux 6.5 compat: use disk_check_media_change when it exists
When disk_check_media_change() exists, then define
zfs_check_media_change() to simply call disk_check_media_change() on
the bd_disk member of its argument. Since disk_check_media_change()
is newer than when revalidate_disk was present in bops, we should
be able to safely do this via a macro, instead of recreating a new
implementation of the inline function that forces revalidation.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15101
2023-08-01 08:32:38 -07:00
..
blkdev_compat.h Linux 6.5 compat: use disk_check_media_change when it exists 2023-08-01 08:32:38 -07:00
compiler_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dcache_compat.h Workaround for Linux PowerPC GPL-only cpu_has_feature() 2023-03-10 09:35:00 -08:00
kmap_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mod_compat.h Finally drop long disabled vdev cache. 2023-06-09 12:40:55 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
simd_aarch64.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
simd_arm.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
simd_powerpc.h Refactor CONFIG_SPE check on Linux/powerpc 2023-03-15 10:30:42 -07:00
simd_x86.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
simd.h Add SHA2 SIMD feature tests for Linux 2023-03-02 13:52:04 -08:00
utsname_compat.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
vfs_compat.h Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00
xattr_compat.h Linux 6.3 compat: idmapped mount API changes 2023-04-10 14:15:36 -07:00