projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
fs
/
squashfs
/
zstd_wrapper.c
diff --git
a/fs/squashfs/zstd_wrapper.c
b/fs/squashfs/zstd_wrapper.c
index
b7cb1fa
..
0015cf8
100644
(file)
--- a/
fs/squashfs/zstd_wrapper.c
+++ b/
fs/squashfs/zstd_wrapper.c
@@
-94,7
+94,7
@@
static int zstd_uncompress(struct squashfs_sb_info *msblk, void *strm,
}
avail = min(length, ((int)bvec->bv_len) - offset);
- data =
page_address(bvec->bv_page) + bvec->bv_offset
;
+ data =
bvec_virt(bvec)
;
length -= avail;
in_buf.src = data + offset;
in_buf.size = avail;