fuse: allow kernel to access "direct_io" files
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 2 Apr 2009 12:25:34 +0000 (14:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 2 Apr 2009 12:25:34 +0000 (14:25 +0200)
Allow the kernel read and write on "direct_io" files.  This is
necessary for nfs export and execute support.

The implementation is simple: if an access from the kernel is
detected, don't perform get_user_pages(), just use the kernel address
provided by the requester to copy from/to the userspace filesystem.

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

No differences found