mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-03-26 22:30:42 +08:00
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>