Check the the ops mount pointer is not NULL before indirecting through it.
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 Jul 2006 20:16:24 +0000 (20:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 Jul 2006 20:16:24 +0000 (20:16 +0000)
commit2d7cae25a5ffa30afc950b430836e62cd283bced
treeee6fa43430b45184d8b70fb9744d36d37790678f
parent6a3f0d3d83867ff7ab89d3524ce9c6c720b5e20c
Check the the ops mount pointer is not NULL before indirecting through it.
The mount pointer can be NULL if the vnode is dead.  This can occur if a
tty is revoke()'d.

Reported-by: walt <wa1ter@myrealbox.com>, Thomas Schlesinger <schlesinger@netcologne.de>
sys/kern/vfs_vopops.c