f2fs: compress: use more readable atomic_t type for {cic,dic}.ref
authorChao Yu <yuchao0@huawei.com>
Mon, 10 Aug 2020 10:39:30 +0000 (18:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 10 Sep 2020 21:03:31 +0000 (14:03 -0700)
commite6c3948de2f8213010e584009d47e9bc0934b32c
tree0e7e2febdd212ee341cc4a5e7f0898d7a01c2558
parent17d7648d9ce0c7d7e732252f0d976756c84d46aa
f2fs: compress: use more readable atomic_t type for {cic,dic}.ref

refcount_t type variable should never be less than one, so it's a
little bit hard to understand when we use it to indicate pending
compressed page count, let's change to use atomic_t for better
readability.

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