summaryrefslogtreecommitdiff
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-03 03:10:25 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 03:19:20 (GMT)
commit9e8c2af96e0d2d5fe298dd796fb6bc16e888a48d (patch)
treebd078fdfaf34ce0cb9ab258d39f0669b5610f5c8 /fs/fuse/file.c
parentc186afb4dbd0050a537b96c7fbee2dba3b57fc38 (diff)
downloadlinux-9e8c2af96e0d2d5fe298dd796fb6bc16e888a48d.tar.xz
callers of iov_copy_from_user_atomic() don't need pagecache_disable()
... it does that itself (via kmap_atomic()) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 77bcc30..a91d3b4 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1003,9 +1003,7 @@ static ssize_t fuse_fill_write_pages(struct fuse_req *req,
if (mapping_writably_mapped(mapping))
flush_dcache_page(page);
- pagefault_disable();
tmp = iov_iter_copy_from_user_atomic(page, ii, offset, bytes);
- pagefault_enable();
flush_dcache_page(page);
mark_page_accessed(page);