commit | 4501ca36bc18ee73a3e88373ff50c22233b82324 | [log] [tgz] |
---|---|---|
author | Gao Xiang <gaoxiang25@huawei.com> | Wed Jan 16 21:10:10 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 18 10:37:16 2019 +0100 |
tree | 7dadbd3c566a27f61a1c0a3274d066a339652ec5 | |
parent | d60eff4396f1f7423945f01acc274043c1370bc7 [diff] |
staging: erofs: move shrink accounting inside the function This patch moves the &erofs_global_shrink_cnt accounting from the caller to erofs_workgroup_get(). It's cleaner and it matches erofs_workgroup_put() better. No behavior change. Reviewed-by: Chao Yu <yuchao0@huawei.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>