/[base]
ViewVC logotype

Revision 345823


Jump to revision: Previous Next
Author: asomers
Date: Wed Apr 3 02:29:56 2019 UTC (5 years, 3 months ago)
Changed paths: 2
Log Message:
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


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_node.c modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/setattr.cc modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27