diff options
| author | 2024-02-20 11:15:15 +0800 | |
|---|---|---|
| committer | 2024-02-27 09:41:16 -0800 | |
| commit | 0f1c6ede6da9f7c5dd7380b74a64850298279168 (patch) | |
| tree | f37176e28c1eab4aaea9181d4321e502976fc649 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | f2fs: support file pinning for zoned devices (diff) | |
f2fs: introduce get_available_block_count() for cleanup
There are very similar codes in inc_valid_block_count() and
inc_valid_node_count() which is used for available user block
count calculation.
This patch introduces a new helper get_available_block_count()
to include those common codes, and used it to clean up codes.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
