HomeFreeBSD

fusefs: during ftruncate, discard cached data past truncation point

Description

fusefs: during ftruncate, discard cached data past truncation point

During truncate, fusefs was discarding entire cached blocks, but it wasn't
zeroing out the unused portion of a final partial block. This resulted in
reads returning stale data.

PR: 233783
Reported by: fsx
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345822: MFC r345332: Tune chipset naming.
Branches
Unknown
Tags
Unknown