kernel - Fix NULL pointer dereference on forced unmount
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Mar 2010 20:52:11 +0000 (13:52 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 29 Mar 2010 21:02:53 +0000 (14:02 -0700)
commit09c204dacd0a2a8fee0cec6a56b05232aa1a9e3c
treeb9ded5268011059729928260be5d46d415e7fbc1
parentb7724cc6a8845b35731d9bfdaaf1d4ead6ff181c
kernel - Fix NULL pointer dereference on forced unmount

* Forced unmounts forcefully remove vnodes from a mount but failed
  to reassociate those vnodes with a dummy mount.  Reassociate the
  vnodes with a dummy mount to avoid a NULL pointer dereference.

Reported-by: Saifi Khan <saifi.khan@datasynergy.org>
sys/kern/vfs_mount.c