erofs: clean up collection handling routines
authorGao Xiang <gaoxiang25@huawei.com>
Tue, 8 Oct 2019 12:56:12 +0000 (20:56 +0800)
committerGao Xiang <gaoxiang25@huawei.com>
Tue, 15 Oct 2019 16:07:48 +0000 (00:07 +0800)
commit9e579fc123a0c95f4fce695f86e5aeb1cf3464ee
tree294b6fe3fe0c0336d3d2a39e6e64350540fd0ba4
parent4f5cafb5cb8471e54afdc9054d973535614f7675
erofs: clean up collection handling routines

 - change return value to int since collection is
   already returned within the collector.
 - better function naming.

Link: https://lore.kernel.org/r/20191008125616.183715-1-gaoxiang25@huawei.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
fs/erofs/zdata.c