]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: compress: fix to print raw data size in error path of lz4 decompression
authorChao Yu <chao@kernel.org>
Wed, 16 Mar 2022 10:20:00 +0000 (18:20 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 17 Mar 2022 16:16:22 +0000 (09:16 -0700)
commitd284af43f703760e261b1601378a0c13a19d5f1f
tree296c1b1f442415d75af3e99fc3ef0e9877e289ce
parent646f64b576f7a80af0dd555e25c79ee8af058681
f2fs: compress: fix to print raw data size in error path of lz4 decompression

In lz4_decompress_pages(), if size of decompressed data is not equal to
expected one, we should print the size rather than size of target buffer
for decompressed data, fix it.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c