HomeFreeBSD

linux 5.13 compat: bdevops->revalidate_disk() removed

Description

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

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on May 12 2021, 2:53 AM
GitHub <noreply@github.com>Committed on May 12 2021, 2:53 AM
Parents
rG4704be2879e6: Remove unimplemented virus scanning hooks
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG48c7b0e44459: linux 5.13 compat: bdevops->revalidate_disk() removed (authored by Coleman Kane <ckane@colemankane.org>).May 12 2021, 2:53 AM