]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 5 May 2020 10:32:22 +0000 (12:32 +0200)
commit8d793d536c38be3e19c9dd947bb960a34b6cc8c0
tree12c8edb362a58a3ed73f94a125f18d53ef0fe2b1
parent3aa2866a3ec2a033247010db007f93eb8bdabaf1
erofs: correct the remaining shrink objects

BugLink: https://bugs.launchpad.net/bugs/1873481
commit 9d5a09c6f3b5fb85af20e3a34827b5d27d152b34 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
fs/erofs/utils.c