]> git.proxmox.com Git - mirror_zfs.git/commit - config/kernel-block-device-operations.m4
linux 5.13 compat: bdevops->revalidate_disk() removed
authorColeman Kane <ckane@colemankane.org>
Wed, 12 May 2021 02:53:02 +0000 (22:53 -0400)
committerGitHub <noreply@github.com>
Wed, 12 May 2021 02:53:02 +0000 (19:53 -0700)
commit48c7b0e444591ca5e0199e266e79ecff53e81ee6
tree9f68bbe27cb106ed0250cdacc9a4cfa80831c7be
parent4704be2879e660c0128839f466eaeb61c6c19136
linux 5.13 compat: bdevops->revalidate_disk() removed

Linux kernel commit 0f00b82e5413571ed225ddbccad6882d7ea60bc7 removes the
revalidate_disk() handler from struct block_device_operations. This
caused a regression, and this commit eliminates the call to it and the
assignment in the block_device_operations static handler assignment
code, when configure identifies that the kernel doesn't support that
API handler.

Reviewed-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #11967
Closes #11977
config/kernel-block-device-operations.m4
include/os/linux/kernel/linux/blkdev_compat.h
module/os/linux/zfs/zvol_os.c