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>
This commit is contained in:
Cong Wang
2011-11-25 23:14:27 +08:00
committed by Cong Wang
parent c6daa7ffa8
commit e8e3c3d66f
7 changed files with 34 additions and 37 deletions

View File

@@ -3371,9 +3371,9 @@ retry:
if (err)
goto fail;
kaddr = kmap_atomic(page, KM_USER0);
kaddr = kmap_atomic(page);
memcpy(kaddr, symname, len-1);
kunmap_atomic(kaddr, KM_USER0);
kunmap_atomic(kaddr);
err = pagecache_write_end(NULL, mapping, 0, len-1, len-1,
page, fsdata);