David Sterba ccaa66c8dd Revert "btrfs: compression: drop kmap/kunmap from lzo"
This reverts commit 8c945d32e60427cbc0859cf7045bbe6196bb03d8.

The kmaps in compression code are still needed and cause crashes on
32bit machines (ARM, x86). Reproducible eg. by running fstest btrfs/004
with enabled LZO or ZSTD compression.

The revert does not apply cleanly due to changes in a6e66e6f8c1b
("btrfs: rework lzo_decompress_bio() to make it subpage compatible")
that reworked the page iteration so the revert is done to be equivalent
to the original code.

Link: https://lore.kernel.org/all/CAJCQCtT+OuemovPO7GZk8Y8=qtOObr0XTDp8jh4OHD6y84AFxw@mail.gmail.com/
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214839
Tested-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-10-29 13:25:43 +02:00
..
2021-08-23 13:19:15 +02:00
2021-08-23 13:19:09 +02:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-06-22 14:11:57 +02:00
2021-02-09 02:46:07 +01:00
2019-11-18 23:43:44 +01:00
2021-06-22 14:11:57 +02:00
2021-08-23 13:19:09 +02:00
2021-06-22 14:11:57 +02:00
2020-10-07 12:13:17 +02:00
2021-08-23 13:19:15 +02:00
2021-03-05 12:21:14 -08:00