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
Parents
rS350091: bsearch.3: Improve the example.
Branches
Unknown
Tags
Unknown