diff options
author | 2009-04-02 14:25:34 +0200 | |
---|---|---|
committer | 2009-04-02 14:25:34 +0200 | |
commit | f4975c67dd9ad8eb47a4c77af0521a2b16ee0197 (patch) | |
tree | 4d4642e04e40f4835df9a18192da53b98b206bf8 /fs/jbd2/commit.c | |
parent | serial: fixup /proc/tty/driver/serial after proc_fops conversion (diff) | |
download | wireguard-linux-f4975c67dd9ad8eb47a4c77af0521a2b16ee0197.tar.xz wireguard-linux-f4975c67dd9ad8eb47a4c77af0521a2b16ee0197.zip |
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: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions