freebsd-dev/sys
Ryan Moeller 47e46b1123 zfs: Fix zvol_cdev_open locking
First open locking changes were correctly applied to zvol_geom_open but
incorrectly applied to zvol_cdev_open, causing spa_namespace_lock to be
held indefinitely.

Make the first open locking in zvol_cdev_open match zvol_geom_open.

This change has been accepted upstream in openzfs/zfs#13016 but is not
yet merged.

Reviewed by:	mav
Fixes:		e92ffd9b62
Sponsored by:	iXsystems, Inc.
2022-01-26 18:37:52 +00:00
..
amd64 exec: Remove the stack gap implementation 2022-01-17 16:11:54 -05:00
arm exec: Introduce the PROC_PS_STRINGS() macro 2022-01-17 16:11:54 -05:00
arm64 Add the Armv8.3-SPE registers 2022-01-19 12:07:35 +00:00
bsm
cam ses: minor cleanup 2022-01-19 12:08:03 -07:00
cddl Teach DTrace about BTI on arm64 2022-01-19 12:07:35 +00:00
compat linuxkpi: i2c: Add MODULE_DEPEND for iicbus 2022-01-26 10:44:07 +01:00
conf linuxkpi: Add i2c support 2022-01-25 16:15:39 +01:00
contrib zfs: Fix zvol_cdev_open locking 2022-01-26 18:37:52 +00:00
crypto crypto: Add an API supporting curve25519. 2022-01-24 15:27:39 -08:00
ddb
dev sdhci: fix dumping support in MMCCAM configuration 2022-01-26 09:31:45 +02:00
dts add overlay for enabling spi0 on allwinner h3 2022-01-26 11:42:20 +02:00
fs fusefs: Address -Wunused-but-set-variable warnings 2022-01-20 08:25:00 -05:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom geom: Add HiFive boot partitions 2022-01-26 10:54:45 -05:00
gnu
i386 exec: Reimplement stack address randomization 2022-01-17 16:12:36 -05:00
isa
kern Implement a function to get the next TCP- and TLS- receive sequence number. 2022-01-26 12:55:00 +01:00
kgssapi
libkern
modules add overlay for enabling spi0 on allwinner h3 2022-01-26 11:42:20 +02:00
net Add definitions for TLS receive tags using the existing send tag infrastructure. 2022-01-26 12:55:00 +01:00
net80211 net80211: ieee80211_dump_node() cosmetics 2022-01-17 00:01:46 +00:00
netgraph
netinet extra_tcp_stacks: Fix two typos in source code comments 2022-01-26 18:02:55 +01:00
netinet6 nd6: use CARP link level address in SLLAO for NS sent out 2022-01-24 21:02:47 -08:00
netipsec IPsec: Use protocol-specific malloc types instead of M_XDATA. 2022-01-24 15:27:39 -08:00
netpfil pf: ensure we don't destroy an uninitialised lock 2022-01-16 09:04:57 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto opencrypto/xform_*.h: Trim scope of included headers. 2022-01-25 15:21:22 -08:00
powerpc powerpc: enable ice in GENERIC64LE 2022-01-21 02:17:46 +01:00
riscv riscv: fix unused var in page_fault_handler() 2022-01-19 17:21:25 -04:00
rpc
security
sys geom: Add HiFive boot partitions 2022-01-26 10:54:45 -05:00
teken
tests
tools
ufs
vm vm_pageout_scans: correct detection of active object 2022-01-22 19:34:32 +02:00
x86 atrtc: Install address space handler for \_SB and its descendant. 2022-01-21 15:32:30 +09:00
xdr
xen
Makefile