erofs: fold in should_decompress_synchronously()
authorGao Xiang <hsiangkao@redhat.com>
Sat, 19 Sep 2020 07:27:29 +0000 (15:27 +0800)
committerGao Xiang <hsiangkao@redhat.com>
Sat, 19 Sep 2020 07:35:57 +0000 (15:35 +0800)
commitbf9a123b9cf8d8c67c4c59757cbf4e4b2c4ab2e3
treecf103091072c9c54fbd86ae46b648cfcd70d0122
parent6c3e485ea37da2bcca68e6b8c635ddd2b4da540d
erofs: fold in should_decompress_synchronously()

should_decompress_synchronously() has one single condition
for now, so fold it instead.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20200919072730.24989-2-hsiangkao@redhat.com
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
fs/erofs/zdata.c