diff options
| author | Gao Xiang <gaoxiang25@huawei.com> | 2019-01-16 21:10:10 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-18 10:37:16 +0100 |
| commit | 4501ca36bc18ee73a3e88373ff50c22233b82324 (patch) | |
| tree | 7dadbd3c566a27f61a1c0a3274d066a339652ec5 /tools/perf/scripts/python/netdev-times.py | |
| parent | d60eff4396f1f7423945f01acc274043c1370bc7 (diff) | |
| download | linux-4501ca36bc18ee73a3e88373ff50c22233b82324.tar.gz linux-4501ca36bc18ee73a3e88373ff50c22233b82324.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
