Fix another vnd race pointed out by mpi@ and make sure to not unlock the
authoranton <anton@openbsd.org>
Tue, 21 Dec 2021 06:12:03 +0000 (06:12 +0000)
committeranton <anton@openbsd.org>
Tue, 21 Dec 2021 06:12:03 +0000 (06:12 +0000)
commit7a09fc7701bc987e2c6b18e4a7f8191d40752396
tree599a2a1a95f448c6d026071f249efe75e0e72bc5
parent4d2db379fd33b57e0ddb490faeb02b222092f374
Fix another vnd race pointed out by mpi@ and make sure to not unlock the
vnode twice in the error path.

Tested in snaps for a couple of days.
sys/dev/vnd.c