diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 15:14:26 (GMT) |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 13:48:22 (GMT) |
commit | da4aa36d0140ca8ef1e67df3e829b9085d369dca (patch) | |
tree | cfa2d7ab78722f4fa4bebe8b0c68d14afae9897c /fs/afs/mntpt.c | |
parent | 7ac687d9e047b3fa335f04e18c7188db6a170334 (diff) | |
download | linux-fsl-qoriq-da4aa36d0140ca8ef1e67df3e829b9085d369dca.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/mntpt.c b/fs/afs/mntpt.c index 8f4ce26..298cf89 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; } |