```
vnode_pager_generic_putpages(): correctly handle clean block at EOF
The loop 'skip clean blocks' checking for the clean blocks in the dirty
pages might end up without setting the in_hole locals value to false, ifto true when exactly at EOF at
we started right at EOF. In this casethe middle of the block, without advancing there is no dirty blocks to write prev_offset value. Then
out, and prev_offsetthe next block is equal to next_offsetnot dirty, failing the assertion.and next_offset is clipped back to poffset
+ maxsize, equal to prev_offset, failing the assertion.
Instead of asserting prev_offset < next_offset, we must skip the write.
Reported by: asomers
PR: 276191
```
```
vnode_pager_generic_putpages(): rename maxblksz local to max_offset
```