]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Validate the page in one place, dev_pager_getpages(), rather than doing it
authorAlan Cox <alc@FreeBSD.org>
Mon, 22 Jun 2009 19:09:48 +0000 (19:09 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 22 Jun 2009 19:09:48 +0000 (19:09 +0000)
commitce1b857f3373cfa7bc546e4e20a1fd234cf88a2e
tree7167d148499829229c9a88be5b2c0d7f6d00c051
parent3952a5abc9cc77ab5c17370eb3d1a987f4ef1fd2
Validate the page in one place, dev_pager_getpages(), rather than doing it
in two places, dev_pager_getfake() and dev_pager_updatefake().

Compare a pointer to "NULL" rather than "0".
sys/vm/device_pager.c