]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux 5.13 compat: bdevops->revalidate_disk() removed
authorColeman Kane <ckane@colemankane.org>
Wed, 12 May 2021 02:53:02 +0000 (22:53 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 28 May 2021 05:09:26 +0000 (22:09 -0700)
commit17351a79e28610b31f7baab291af6961185b651e
tree287491e3c48800f81316a6b590ef062efe57c2b6
parent1cb517aebd5d4d5243689359632b8d6299057fd4
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