fuse: fix "direct_io" private mmap
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 9 Apr 2009 15:37:53 +0000 (17:37 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 9 Apr 2009 15:37:53 +0000 (17:37 +0200)
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>

No differences found