From: Miklos Szeredi Date: Thu, 2 Apr 2009 12:25:34 +0000 (+0200) Subject: fuse: allow kernel to access "direct_io" files X-Git-Tag: v2.6.30-rc1~217^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4975c67dd9ad8eb47a4c77af0521a2b16ee0197;p=pandora-kernel.git 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 --- Reading git-diff-tree failed