HomeFreeBSD

Move check_file to os/$platform section

Description

Move check_file to os/$platform section

Keep check_file_generic() in shared code base, and allow special case
code in check_file() in os section. In future, macOS will have
additional checks in check_file().

Linux and FreeBSD wrappers just calls check_file_generic().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12385

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Jul 26 2021, 11:34 PM
GitHub <noreply@github.com>Committed on Jul 26 2021, 11:34 PM
Parents
rGdd3bda39cf7a: Add comment on metaslab_class_throttle_reserve() locking
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG02601d8aa41d: Move check_file to os/$platform section (authored by Jorgen Lundman <lundman@lundman.net>).Jul 26 2021, 11:34 PM