summaryrefslogtreecommitdiffstats
path: root/fs/afs/mntpt.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 16:14:26 +0100
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 14:48:22 +0100
commitda4aa36d0140ca8ef1e67df3e829b9085d369dca (patch)
treecfa2d7ab78722f4fa4bebe8b0c68d14afae9897c /fs/afs/mntpt.c
parentbtrfs: remove the second argument of k[un]map_atomic() (diff)
downloadlinux-da4aa36d0140ca8ef1e67df3e829b9085d369dca.tar.xz
linux-da4aa36d0140ca8ef1e67df3e829b9085d369dca.zip
afs: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/afs/mntpt.c')
-rw-r--r--fs/afs/mntpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c
index 8f4ce2658b7d..298cf8919ec7 100644
--- a/fs/afs/mntpt.c
+++ b/fs/afs/mntpt.c
@@ -200,9 +200,9 @@ static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt)
if (PageError(page))
goto error;
- buf = kmap_atomic(page, KM_USER0);
+ buf = kmap_atomic(page);
memcpy(devname, buf, size);
- kunmap_atomic(buf, KM_USER0);
+ kunmap_atomic(buf);
page_cache_release(page);
page = NULL;
}