mirror_zfs/module/os/linux
Brian Behlendorf d530d5d8a5 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 16:19:48 -08:00
..
spl linux 6.7 compat: rework shrinker setup for heap allocations 2023-12-21 11:03:08 -08:00
zfs Linux 6.5 compat: check BLK_OPEN_EXCL is defined 2023-12-21 16:19:48 -08:00