> On 7. Feb 2022, at 07:18, Michael van Elst <mlel...@serpens.de> wrote:
> 
> m...@eterna.com.au (matthew green) writes:
> 
>> while rebooting a quartz64 with a usb attached disk that just
>> had a about 3.5GB of data written to it, i the umass gave some
>> errorse and then i got a panic shortly later:
> 
>> [ 6179.6038961] Skipping crash dump on recursive panic
>> [ 6179.6038961] panic: kernel diagnostic assertion "error =3D=3D EOPNOTSUP=
>> P" failed: file "/usr/src/sys/kern/vfs_vnode.c", line 1120 =
> 
> genfs_suspendctl() may return ENOENT if IMNT_GONE is set in mnt_iflag.
> I'm not sure if mnt_iflag is even protected against concurrent access
> but vrevoke() racing with dounmount() might be enough.

Flag IMNT_GONE is protected with suspension.  Looks like the KASSERT
should become "KASSERT(error == EOPNOTSUPP || error == ENOENT)" here.

--
J. Hannken-Illjes - hann...@mailbox.org

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to