Re: insmntque for syncvnode panic [Was: Re: panic unmounting filesystems]

From: Peter Jeremy <peterjeremy_at_optushome.com.au>
Date: Sat, 25 Aug 2007 22:37:54 +1000
On 2007-Aug-21 17:43:03 +0300, Kostik Belousov <kostikbel_at_gmail.com> wrote:
>> The mountpoint shows as in the process of being unmounted and has
>> mnt_nvnodelistsize == 0 so insmntque() makes sense at the micro level.
>> Having a system panic as a result does not make sense.
>Sure. I think that syncvnode shall be allocated after the MNTK_UNMOUNT
>flag is cleared.
>
>Could you, please, test the patch below ?
>diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
>index 702efc3..09f4d1e 100644

This appears to have resolved the problem - after adding the patch,
I've been unable to get umount to panic.  Thanks for the fix.

-- 
Peter Jeremy

Received on Sat Aug 25 2007 - 10:37:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:16 UTC