mirror_zfs/module/os
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
..
freebsd dmu: Allow buffer fills to fail 2023-12-15 09:51:41 -08:00
linux Linux 6.5 compat: check BLK_OPEN_EXCL is defined 2023-12-21 11:22:56 -08:00