Make buf_dealloc_mem() remove the mapping even if b_pobj is NULL. Otherwise
authorkettenis <kettenis@openbsd.org>
Sun, 3 Aug 2008 18:08:54 +0000 (18:08 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 3 Aug 2008 18:08:54 +0000 (18:08 +0000)
commit780a7c3789affbbe6a01ab695adf50817e89d2dc
treecb7dbc6b342426d76be59b67dd365c86ee64a790
parent6512d3c30a219a15bc98e8fd4e21c9185c268589
Make buf_dealloc_mem() remove the mapping even if b_pobj is NULL.  Otherwise
bread_cluster() leaks mappings which causes grief on VAC architectures.

Fixes bsd.rd on hppa and armish.

ok art@, beck@
sys/kern/vfs_biomem.c