diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 23:14:36 +0800 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 21:48:25 +0800 |
commit | 53b55e55893fbce8d78caeb22e17a28d909a2132 (patch) | |
tree | e884fec0becc6816a768bed778b857644104dc0d /fs/squashfs/symlink.c | |
parent | 883da600b00eb6fa9f8db5687759732b3c6dd357 (diff) |
squashfs: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/squashfs/symlink.c')
-rw-r--r-- | fs/squashfs/symlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/symlink.c b/fs/squashfs/symlink.c index 1191817264cc..12806dffb345 100644 --- a/fs/squashfs/symlink.c +++ b/fs/squashfs/symlink.c @@ -90,14 +90,14 @@ static int squashfs_symlink_readpage(struct file *file, struct page *page) goto error_out; } - pageaddr = kmap_atomic(page, KM_USER0); + pageaddr = kmap_atomic(page); copied = squashfs_copy_data(pageaddr + bytes, entry, offset, length - bytes); if (copied == length - bytes) memset(pageaddr + length, 0, PAGE_CACHE_SIZE - length); else block = entry->next_index; - kunmap_atomic(pageaddr, KM_USER0); + kunmap_atomic(pageaddr); squashfs_cache_put(entry); } |