diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 16:14:28 +0100 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 14:48:21 +0100 |
commit | 7ac687d9e047b3fa335f04e18c7188db6a170334 (patch) | |
tree | 5f17ea504a2185070b75076ea0108d88b96309c3 /fs/btrfs/zlib.c | |
parent | fs: remove the second argument of k[un]map_atomic() (diff) | |
download | linux-7ac687d9e047b3fa335f04e18c7188db6a170334.tar.xz linux-7ac687d9e047b3fa335f04e18c7188db6a170334.zip |
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 faccd47c6c46..92c20654cc55 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; |