diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:27 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:21 -0400 |
commit | e8e3c3d66fd9d1ee2250f68d778cc48c1346d228 (patch) | |
tree | 2d69e1bb0cefe36bbfc4b75ddfa6cec8e72bcb98 /fs/namei.c | |
parent | c6daa7ffa834c850b3dbb38af6980415caef680d (diff) |
fs: remove the second argument of k[un]map_atomic()
Acked-by: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index 46ea9cc16647..d135da74ce04 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -3371,9 +3371,9 @@ retry: | |||
3371 | if (err) | 3371 | if (err) |
3372 | goto fail; | 3372 | goto fail; |
3373 | 3373 | ||
3374 | kaddr = kmap_atomic(page, KM_USER0); | 3374 | kaddr = kmap_atomic(page); |
3375 | memcpy(kaddr, symname, len-1); | 3375 | memcpy(kaddr, symname, len-1); |
3376 | kunmap_atomic(kaddr, KM_USER0); | 3376 | kunmap_atomic(kaddr); |
3377 | 3377 | ||
3378 | err = pagecache_write_end(NULL, mapping, 0, len-1, len-1, | 3378 | err = pagecache_write_end(NULL, mapping, 0, len-1, len-1, |
3379 | page, fsdata); | 3379 | page, fsdata); |