summaryrefslogtreecommitdiffstats
path: root/fs/fuse/dev.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:30 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:22 +0800
commit2408f6ef6bf58620f8330b37181d2bdca2e7c7c5 (patch)
tree80093a2bd67a78f17de1cc8bdad2e6bc6e3b50c0 /fs/fuse/dev.c
parentd4a23aee23710dabeaa44c30950b87d33bf104be (diff)
downloadop-kernel-dev-2408f6ef6bf58620f8330b37181d2bdca2e7c7c5.zip
op-kernel-dev-2408f6ef6bf58620f8330b37181d2bdca2e7c7c5.tar.gz
fuse: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r--fs/fuse/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 5f3368a..7df2b5e 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -838,10 +838,10 @@ static int fuse_copy_page(struct fuse_copy_state *cs, struct page **pagep,
}
}
if (page) {
- void *mapaddr = kmap_atomic(page, KM_USER0);
+ void *mapaddr = kmap_atomic(page);
void *buf = mapaddr + offset;
offset += fuse_copy_do(cs, &buf, &count);
- kunmap_atomic(mapaddr, KM_USER0);
+ kunmap_atomic(mapaddr);
} else
offset += fuse_copy_do(cs, NULL, &count);
}
OpenPOWER on IntegriCloud