diff options
Diffstat (limited to 'fs/squashfs/xz_wrapper.c')
-rw-r--r-- | fs/squashfs/xz_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/squashfs/xz_wrapper.c b/fs/squashfs/xz_wrapper.c index c609624e4b8a..6bfaef73d065 100644 --- a/fs/squashfs/xz_wrapper.c +++ b/fs/squashfs/xz_wrapper.c | |||
@@ -141,7 +141,7 @@ static int squashfs_xz_uncompress(struct squashfs_sb_info *msblk, void *strm, | |||
141 | stream->buf.in_pos = 0; | 141 | stream->buf.in_pos = 0; |
142 | stream->buf.in_size = 0; | 142 | stream->buf.in_size = 0; |
143 | stream->buf.out_pos = 0; | 143 | stream->buf.out_pos = 0; |
144 | stream->buf.out_size = PAGE_CACHE_SIZE; | 144 | stream->buf.out_size = PAGE_SIZE; |
145 | stream->buf.out = squashfs_first_page(output); | 145 | stream->buf.out = squashfs_first_page(output); |
146 | 146 | ||
147 | do { | 147 | do { |
@@ -158,7 +158,7 @@ static int squashfs_xz_uncompress(struct squashfs_sb_info *msblk, void *strm, | |||
158 | stream->buf.out = squashfs_next_page(output); | 158 | stream->buf.out = squashfs_next_page(output); |
159 | if (stream->buf.out != NULL) { | 159 | if (stream->buf.out != NULL) { |
160 | stream->buf.out_pos = 0; | 160 | stream->buf.out_pos = 0; |
161 | total += PAGE_CACHE_SIZE; | 161 | total += PAGE_SIZE; |
162 | } | 162 | } |
163 | } | 163 | } |
164 | 164 | ||