zfs/module/os
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
..
freebsd FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible 2023-11-29 14:08:46 -08:00
linux Linux 6.5 compat: check BLK_OPEN_EXCL is defined 2023-12-21 16:19:48 -08:00