erofs: correct the remaining shrink objects
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 26 Feb 2020 08:10:06 +0000 (16:10 +0800)
committerGao Xiang <gaoxiang25@huawei.com>
Tue, 3 Mar 2020 15:39:29 +0000 (23:39 +0800)
commit9d5a09c6f3b5fb85af20e3a34827b5d27d152b34
treea599b089ddb8a6852c6375d6050e384d7b0a9406
parent64094a04414f0b2fb7e31e1c57a67e91e390d66c
erofs: correct the remaining shrink objects

The remaining count should not include successful
shrink attempts.

Fixes: e7e9a307be9d ("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>
fs/erofs/utils.c