Date: Wed, 12 Sep 2007 16:31:33 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys mount.h src/sys/kern vfs_mount.c vfs_subr.c Message-ID: <200709121631.l8CGVXUD042230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2007-09-12 16:31:33 UTC FreeBSD src repository Modified files: sys/sys mount.h sys/kern vfs_mount.c vfs_subr.c Log: When restoring the mount after umount failed, the MNTK_UNMOUNT flag prevents insmntque() from placing reallocated syncer vnode on mount list, that causes panic in vfs_allocate_syncvnode(). Introduce MNTK_NOINSMNTQ flag, that marks the period when instmntque is not allowed to success, instead of MNTK_UNMOUNT. The MNTK_NOINSMNTQ is set and cleared simultaneously with MNTK_UNMOUNT, except on umount error path, where it is cleaned just before the syncer vnode is going to be allocated. Reported by: Peter Jeremy <peterjeremy optushome com au> Suggested by: tegge Approved by: re (rwatson) Revision Changes Path 1.265 +9 -4 src/sys/kern/vfs_mount.c 1.707 +1 -1 src/sys/kern/vfs_subr.c 1.228 +5 -0 src/sys/sys/mount.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709121631.l8CGVXUD042230>