Home
last modified time | relevance | path

Searched hist:e6c3948de2f8213010e584009d47e9bc0934b32c (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dcompress.cdiff e6c3948de2f8213010e584009d47e9bc0934b32c Mon Aug 10 05:39:30 CDT 2020 Chao Yu <yuchao0@huawei.com> 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>
H A Ddata.cdiff e6c3948de2f8213010e584009d47e9bc0934b32c Mon Aug 10 05:39:30 CDT 2020 Chao Yu <yuchao0@huawei.com> 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>
H A Df2fs.hdiff e6c3948de2f8213010e584009d47e9bc0934b32c Mon Aug 10 05:39:30 CDT 2020 Chao Yu <yuchao0@huawei.com> 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>