f2fs: clean up {cic,dic}.ref handling
authorChao Yu <yuchao0@huawei.com>
Sat, 28 Mar 2020 09:33:23 +0000 (17:33 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 31 Mar 2020 03:46:26 +0000 (20:46 -0700)
commit887347a09a6a41e644a15753171badc544777ee1
tree08ddbac09d6f61c9455b442de92d9d523379c695
parent7496affa3258e6d0e5fbf84bd031fd5a23f43289
f2fs: clean up {cic,dic}.ref handling

{cic,dic}.ref should be initialized to number of compressed pages,
let's initialize it directly rather than doing w/
f2fs_set_compressed_page().

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c