mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
fuse: fix "direct_io" private mmap
MAP_PRIVATE mmap could return stale data from the cache for "direct_io" files. Fix this by flushing the cache on mmap. Found with a slightly modified fsx-linux. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
This commit is contained in:
parent
ce60a2f157
commit
3121bfe763
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue