diff options
author | David Sterba <dsterba@suse.com> | 2021-10-27 11:44:21 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-10-29 14:25:43 +0300 |
commit | ccaa66c8dd277ac02f96914168bb7177f7ea8117 (patch) | |
tree | 3731205a362c6bd3103e67bec62c03e0ca03e234 /net/unix/unix_bpf.c | |
parent | 55276e14df4324ade34583adef110e11d249fb7b (diff) | |
download | linux-ccaa66c8dd277ac02f96914168bb7177f7ea8117.tar.xz |
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>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions