summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/lzo.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:28 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:21 +0800
commit7ac687d9e047b3fa335f04e18c7188db6a170334 (patch)
tree5f17ea504a2185070b75076ea0108d88b96309c3 /fs/btrfs/lzo.c
parente8e3c3d66fd9d1ee2250f68d778cc48c1346d228 (diff)
downloadlinux-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.c4
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;
}