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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 3 2024, 10:29 PM
Parents
rG917ff75e9510: vdev_disk: don't touch vbio after its handed off to the kernel
Branches
Unknown
Tags
Unknown