]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "btrfs: compression: drop kmap/kunmap from generic helpers"
authorDavid Sterba <dsterba@suse.com>
Wed, 27 Oct 2021 08:39:03 +0000 (10:39 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 27 Oct 2021 08:39:03 +0000 (10:39 +0200)
commit3961660ea653927d04570228fb16e33f7bfba3c7
tree91badc6240f4bdaae0653b087242cb8510f47c52
parentc96512d9000c5161a130c0daa64bc9991176ae67
Revert "btrfs: compression: drop kmap/kunmap from generic helpers"

This reverts commit 030aef95d93681e663aa9e7ca15f93f0773f0373.

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.

Link: https://lore.kernel.org/all/CAJCQCtT+OuemovPO7GZk8Y8=qtOObr0XTDp8jh4OHD6y84AFxw@mail.gmail.com/
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=214839
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/inode.c