Page MenuHomeFreeBSD

vfs: fix vfs_bio_clrbuf() for PAGE_SIZE > block size
ClosedPublic

Authored by chs on Apr 7 2022, 8:15 PM.

Details

Summary

Calculate the desired page valid mask using math that will not
overflow the types used.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.