Skip to content
Commit f4975c67 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: allow kernel to access "direct_io" files



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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 833bb304
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment