diff options
author | Vladimir Zapolskiy <vladimir@tuxera.com> | 2020-01-02 14:01:17 +0200 |
---|---|---|
committer | Gao Xiang <gaoxiang25@huawei.com> | 2020-01-07 10:08:45 +0800 |
commit | e5e9a432036a40756db171e7b22ee63e69c41ef1 (patch) | |
tree | e94b515f41d04457265a24797f0811d9df7b89f2 /fs/erofs/internal.h | |
parent | 997626d8383871862d0774c50a351aa98dacc0eb (diff) | |
download | linux-e5e9a432036a40756db171e7b22ee63e69c41ef1.tar.bz2 |
erofs: remove unused tag argument while registering a workgroup
All workgroups are registered with tag value set to 0, to simplify
erofs_register_workgroup() interface the tag argument can be removed,
if its only value is sent down to the function body.
Signed-off-by: Vladimir Zapolskiy <vladimir@tuxera.com>
Link: https://lore.kernel.org/r/20200102120118.14979-3-vladimir@tuxera.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r-- | fs/erofs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index c3d502b5fac7..c4c6dcdc89ad 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h @@ -403,7 +403,7 @@ int erofs_workgroup_put(struct erofs_workgroup *grp); struct erofs_workgroup *erofs_find_workgroup(struct super_block *sb, pgoff_t index); int erofs_register_workgroup(struct super_block *sb, - struct erofs_workgroup *grp, bool tag); + struct erofs_workgroup *grp); void erofs_workgroup_free_rcu(struct erofs_workgroup *grp); void erofs_shrinker_register(struct super_block *sb); void erofs_shrinker_unregister(struct super_block *sb); |