zfs: fix up after the removal of PG_CACHED pages in r308691
PR: 214629 Reported by: mshirk@daemon-security.com Reviewed by: alc Tested by: Shawn Webb <shawn.webb@hardenedbsd.org> X-MFC with: 308691
This commit is contained in:
parent
0ae37b2f01
commit
2ec31e84cc
@ -426,8 +426,8 @@ page_busy(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes)
|
||||
continue;
|
||||
}
|
||||
vm_page_sbusy(pp);
|
||||
} else {
|
||||
ASSERT(pp != NULL && !pp->valid);
|
||||
} else if (pp != NULL) {
|
||||
ASSERT(!pp->valid);
|
||||
pp = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user