Date: Fri, 13 Feb 1998 11:07:30 +1100 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.ORG Cc: dyson@FreeBSD.ORG Subject: panic in vm_pager_has_page() Message-ID: <199802130007.LAA14327@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
This seems to fix the panic in vm_pager_has_page() when nfs file systems are forcibly unmounted by `umount -Af -t nfs'. (pagertab[OBJT_DEAD] is invalid.) Bruce diff -c2 src/sys/vm/vm_fault.c~ src/sys/vm/vm_fault.c *** src/sys/vm/vm_fault.c~ Tue Feb 10 05:17:46 1998 --- src/sys/vm/vm_fault.c Tue Feb 10 05:17:47 1998 *************** *** 290,294 **** while (TRUE) { ! if (object->flags & OBJ_DEAD) { UNLOCK_AND_DEALLOCATE; return (KERN_PROTECTION_FAILURE); --- 290,294 ---- while (TRUE) { ! if (object->flags & OBJ_DEAD || object->type == OBJT_DEAD) { UNLOCK_AND_DEALLOCATE; return (KERN_PROTECTION_FAILURE); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802130007.LAA14327>