mirror_zfs/module/os/linux
Brian Behlendorf 233d34e47e
Linux 6.5 compat: check BLK_OPEN_EXCL is defined
On some systems we already have blkdev_get_by_path() with 4 args
but still the old FMODE_EXCL and not BLK_OPEN_EXCL defined.
The vdev_bdev_mode() function was added to handle this case
but there was no generic way to specify exclusive access.

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #15692
2023-12-21 11:22:56 -08:00
..
spl Linux 6.7 compat: rework shrinker setup for heap allocations 2023-12-20 11:47:55 -08:00
zfs Linux 6.5 compat: check BLK_OPEN_EXCL is defined 2023-12-21 11:22:56 -08:00