]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 6.9 compat: bdev handles are now struct file
authorRob Norris <robn@despairlabs.com>
Tue, 26 Mar 2024 23:07:50 +0000 (10:07 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Apr 2024 22:29:33 +0000 (15:29 -0700)
commite3120f73d0481a5e0779e45da83518373d60dcff
tree8c9e3e1baa5dcf9137658203cc3f2ffd1ac5e5dd
parent917ff75e9510d19968ef3cc5c80b1cd0ef48f84d
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
config/kernel-blkdev.m4
module/os/linux/zfs/vdev_disk.c