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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Sep 22 2023, 1:38 AM
Parents
rG01d00dfa9e47: Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG7ac56b86cd69: Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev() (authored by Coleman Kane <ckane@colemankane.org>).Sep 22 2023, 1:38 AM