fuse: allow private mappings of "direct_io" files
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 2 Apr 2009 12:25:35 +0000 (14:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 2 Apr 2009 12:25:35 +0000 (14:25 +0200)
Allow MAP_PRIVATE mmaps of "direct_io" files.  This is necessary for
execute support.

MAP_SHARED mappings require some sort of coherency between the
underlying file and the mapping.  With "direct_io" it is difficult to
provide this, so for the moment just disallow shared (read-write and
read-only) mappings altogether.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>

No differences found