commit | da4aa36d0140ca8ef1e67df3e829b9085d369dca | [log] [tgz] |
---|---|---|
author | Cong Wang <amwang@redhat.com> | Fri Nov 25 23:14:26 2011 +0800 |
committer | Cong Wang <xiyou.wangcong@gmail.com> | Tue Mar 20 21:48:22 2012 +0800 |
tree | cfa2d7ab78722f4fa4bebe8b0c68d14afae9897c | |
parent | 7ac687d9e047b3fa335f04e18c7188db6a170334 [diff] [blame] |
afs: remove the second argument of k[un]map_atomic() Signed-off-by: Cong Wang <amwang@redhat.com>
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 @@ 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; }