kernel - Attempt to fix panic during shutdown from tmpfs
commitf4428f2f40250d0f5a6d05cfaf2235c81fffdcd4
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Aug 2016 17:27:57 +0000 (29 10:27 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Aug 2016 17:27:57 +0000 (29 10:27 -0700)
treefe335de1fac51682c5fa59b052058bd07158b195
parent5525fede62a61b2d8d5fac4cb0f771c01132e083
kernel - Attempt to fix panic during shutdown from tmpfs

* When doing a forced-unmount on tmpfs an active vnode may wind up
  staying on the mount's dirty worklist, resulting in an assertion.

* Try to handle the case by forcefully removing the vnode from the dirty
  worklist in the forced-unmount case.

Reported-by: zrj (Rimvydas Jasinskas)
sys/kern/vfs_subr.c
sys/kern/vfs_sync.c
sys/sys/vnode.h