aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/freebsd/zfs/zfs_vfsops.c
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-11-06 13:52:16 -0500
committerBrian Behlendorf <[email protected]>2020-11-11 11:07:40 -0800
commit4a2e9811e9d095ff10b59e3644b907c5efe02a8b (patch)
tree5c6cf3f42c6a392028350f8c67a0cfb71d6677d2 /module/os/freebsd/zfs/zfs_vfsops.c
parent050dfc504545e42ab7030dda7e3d3dec5a57a9c5 (diff)
FreeBSD: Avoid spurious EINTR in zvol_cdev_open
zvol_first_open can fail with EINTR if spa_namespace_lock is not held and cannot be taken without waiting. Apply the same logic that was done for zvol_geom_open to take spa_namespace_lock if not already held on first open in zvol_cdev_open. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #11175
Diffstat (limited to 'module/os/freebsd/zfs/zfs_vfsops.c')
0 files changed, 0 insertions, 0 deletions