Searched hist:e6c3948de2f8213010e584009d47e9bc0934b32c (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/f2fs/ |
H A D | compress.c | diff 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 D | data.c | diff 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 D | f2fs.h | diff 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>
|