HomeFreeBSD

Linux 6.9 compat: bdev handles are now struct file

Description

Linux 6.9 compat: bdev handles are now struct file

bdev_open_by_path() is replaced by bdev_file_open_by_path(), which
returns a plain old struct file*. Release function is gone entirely; the
regular file release function fput() will take care of the bdev
specifics.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16027
Closes #16033

Details

Provenance
rob.norris_klarasystems.comAuthored on Mar 26 2024, 11:07 PM
Tony Hutter <hutter2@llnl.gov>Committed on Apr 22 2024, 4:23 PM
Parents
rGb9c3040b10b6: vdev_disk: clean up spa/bdev mode conversion
Branches
Unknown
Tags
Unknown