summaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 16:14:30 +0100
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 14:48:22 +0100
commit2408f6ef6bf58620f8330b37181d2bdca2e7c7c5 (patch)
tree80093a2bd67a78f17de1cc8bdad2e6bc6e3b50c0 /fs/fuse/file.c
parentext2: remove the second argument of k[un]map_atomic() (diff)
downloadlinux-2408f6ef6bf58620f8330b37181d2bdca2e7c7c5.tar.xz
linux-2408f6ef6bf58620f8330b37181d2bdca2e7c7c5.zip
fuse: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to '')
-rw-r--r--fs/fuse/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 4a199fd93fbd..a841868bf9ce 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1887,11 +1887,11 @@ long fuse_do_ioctl(struct file *file, unsigned int cmd, unsigned long arg,
in_iovs + out_iovs > FUSE_IOCTL_MAX_IOV)
goto out;
- vaddr = kmap_atomic(pages[0], KM_USER0);
+ vaddr = kmap_atomic(pages[0]);
err = fuse_copy_ioctl_iovec(fc, iov_page, vaddr,
transferred, in_iovs + out_iovs,
(flags & FUSE_IOCTL_COMPAT) != 0);
- kunmap_atomic(vaddr, KM_USER0);
+ kunmap_atomic(vaddr);
if (err)
goto out;