]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Let DDB's buf printer handle NULL pointers in the buf page array.
authorMark Johnston <markj@FreeBSD.org>
Thu, 14 Jul 2016 18:49:05 +0000 (18:49 +0000)
committerMark Johnston <markj@FreeBSD.org>
Thu, 14 Jul 2016 18:49:05 +0000 (18:49 +0000)
commit0649caae326cfda8cf98ec267b27854e6de97d1a
treebbb05b59400dcc6477ac032258afd9f367725e62
parent5d94bbc2412822273465fc12905e25ce5a7e5e5b
Let DDB's buf printer handle NULL pointers in the buf page array.

A buf's b_pages and b_npages fields may be inconsistent after a panic.
For instance, vfs_vmio_invalidate() sets b_npages to zero only after all
pages are unwired and their page array entries are cleared.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
sys/kern/vfs_bio.c