]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Let DDB's buf printer handle NULL pointers in the buf page array.
authormarkj <markj@FreeBSD.org>
Thu, 14 Jul 2016 18:49:05 +0000 (18:49 +0000)
committermarkj <markj@FreeBSD.org>
Thu, 14 Jul 2016 18:49:05 +0000 (18:49 +0000)
commitb1a6a8478ffd051c75eeb7a98ff39edc4d0f21ff
treebbb05b59400dcc6477ac032258afd9f367725e62
parentac309831015a118a609df505ccd56123e98d95b3
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