summaryrefslogtreecommitdiffstats
path: root/fs/afs/mntpt.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:26 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:22 +0800
commitda4aa36d0140ca8ef1e67df3e829b9085d369dca (patch)
treecfa2d7ab78722f4fa4bebe8b0c68d14afae9897c /fs/afs/mntpt.c
parent7ac687d9e047b3fa335f04e18c7188db6a170334 (diff)
downloadlinux-da4aa36d0140ca8ef1e67df3e829b9085d369dca.tar.bz2
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;
}