diff options
author | 2011-11-25 23:14:28 +0800 | |
---|---|---|
committer | 2012-03-20 21:48:21 +0800 | |
commit | 7ac687d9e047b3fa335f04e18c7188db6a170334 (patch) | |
tree | 5f17ea504a2185070b75076ea0108d88b96309c3 /fs/btrfs/lzo.c | |
parent | fs: remove the second argument of k[un]map_atomic() (diff) | |
download | linux-7ac687d9e047b3fa335f04e18c7188db6a170334.tar.gz linux-7ac687d9e047b3fa335f04e18c7188db6a170334.tar.bz2 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/lzo.c')
-rw-r--r-- | fs/btrfs/lzo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c index a178f5ebea78..743b86fa4fcb 100644 --- a/fs/btrfs/lzo.c +++ b/fs/btrfs/lzo.c @@ -411,9 +411,9 @@ static int lzo_decompress(struct list_head *ws, unsigned char *data_in, bytes = min_t(unsigned long, destlen, out_len - start_byte); - kaddr = kmap_atomic(dest_page, KM_USER0); + kaddr = kmap_atomic(dest_page); memcpy(kaddr, workspace->buf + start_byte, bytes); - kunmap_atomic(kaddr, KM_USER0); + kunmap_atomic(kaddr); out: return ret; } |