HomeFreeBSD

Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()

Description

Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()

In Linux commit 560e20e4bf6484a0c12f9f3c7a1aa55056948e1e, the
fsync_bdev() function was removed in favor of sync_blockdev() to do
(roughly) the same thing, given the same input. This change
conditionally attempts to call sync_blockdev() if fsync_bdev() isn't
discovered during configure.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #15263

Details

Provenance
Coleman Kane <ckane@colemankane.org>Authored on Sep 15 2023, 5:07 AM
Tony Hutter <hutter2@llnl.gov>Committed on Nov 8 2023, 8:15 PM
Parents
rG21875dd09002: Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2
Branches
Unknown
Tags
Unknown