svn commit: r306842 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Sat Oct 8 13:38:06 UTC 2016
Author: mjg
Date: Sat Oct 8 13:38:05 2016
New Revision: 306842
URL: https://svnweb.freebsd.org/changeset/base/306842
Log:
vfs: assert empty tmp free list on unmount
Modified:
head/sys/kern/vfs_mount.c
Modified: head/sys/kern/vfs_mount.c
==============================================================================
--- head/sys/kern/vfs_mount.c Sat Oct 8 13:36:59 2016 (r306841)
+++ head/sys/kern/vfs_mount.c Sat Oct 8 13:38:05 2016 (r306842)
@@ -522,6 +522,8 @@ vfs_mount_destroy(struct mount *mp)
panic("vfs_mount_destroy: nonzero nvnodelistsize");
if (mp->mnt_activevnodelistsize != 0)
panic("vfs_mount_destroy: nonzero activevnodelistsize");
+ if (mp->mnt_tmpfreevnodelistsize != 0)
+ panic("vfs_mount_destroy: nonzero tmpfreevnodelistsize");
if (mp->mnt_lockref != 0)
panic("vfs_mount_destroy: nonzero lock refcount");
MNT_IUNLOCK(mp);
More information about the svn-src-all
mailing list