diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 15:14:28 (GMT) |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 13:48:21 (GMT) |
commit | 7ac687d9e047b3fa335f04e18c7188db6a170334 (patch) | |
tree | 5f17ea504a2185070b75076ea0108d88b96309c3 /fs/btrfs/zlib.c | |
parent | e8e3c3d66fd9d1ee2250f68d778cc48c1346d228 (diff) | |
download | linux-fsl-qoriq-7ac687d9e047b3fa335f04e18c7188db6a170334.tar.xz |
btrfs: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/btrfs/zlib.c')
-rw-r--r-- | fs/btrfs/zlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/zlib.c b/fs/btrfs/zlib.c index faccd47..92c2065 100644 --- a/fs/btrfs/zlib.c +++ b/fs/btrfs/zlib.c @@ -370,9 +370,9 @@ static int zlib_decompress(struct list_head *ws, unsigned char *data_in, PAGE_CACHE_SIZE - buf_offset); bytes = min(bytes, bytes_left); - kaddr = kmap_atomic(dest_page, KM_USER0); + kaddr = kmap_atomic(dest_page); memcpy(kaddr + pg_offset, workspace->buf + buf_offset, bytes); - kunmap_atomic(kaddr, KM_USER0); + kunmap_atomic(kaddr); pg_offset += bytes; bytes_left -= bytes; |