]> git.baikalelectronics.ru Git - kernel.git/commit
erofs: correct the remaining shrink objects
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 26 Feb 2020 08:10:06 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:16 +0000 (10:50 +0200)
commitb034454428fb2eeadaf032bce9f13423e91a5c5f
tree9eae5f802136b8bd563239ca01f3c611b16ce1af
parent620e0eaddcae04c4dba19b8dc3a9d5ac68c825bf
erofs: correct the remaining shrink objects

commit 5334ebe3d0fbbc538c265d0ac1c969da8abebbe0 upstream.

The remaining count should not include successful
shrink attempts.

Fixes: 18c442aa52dc ("staging: erofs: introduce workstation for decompression")
Cc: <stable@vger.kernel.org> # 4.19+
Link: https://lore.kernel.org/r/20200226081008.86348-1-gaoxiang25@huawei.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/erofs/utils.c