HomeFreeBSD

Revert r346608

Description

Revert r346608

That change was intended to be cosmetic, but it inadvertenly caused
vnode_pager_setsize to discard cached indirect blocks and extended
attributes on UFS during truncation. The reason is because those blocks
have negative LBNs, which get sign-cast to positive VM indexes.

Reported by: kib
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on Jul 17 2019, 7:39 PM
Parents
rG07e86257e628: fusefs: fix the build with some NODEBUG kernels
Branches
Unknown
Tags
Unknown

Event Timeline