[Bug 233783] [fusefs] returns cached truncated data
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Apr 3 02:30:18 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233783
--- Comment #4 from commit-hook at freebsd.org ---
A commit references this bug:
Author: asomers
Date: Wed Apr 3 02:29:56 UTC 2019
New revision: 345823
URL: https://svnweb.freebsd.org/changeset/base/345823
Log:
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
Changes:
projects/fuse2/sys/fs/fuse/fuse_node.c
projects/fuse2/tests/sys/fs/fusefs/setattr.cc
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list