aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChao Yu <[email protected]>2024-02-20 11:15:15 +0800
committerJaegeuk Kim <[email protected]>2024-02-27 09:41:16 -0800
commit0f1c6ede6da9f7c5dd7380b74a64850298279168 (patch)
treef37176e28c1eab4aaea9181d4321e502976fc649 /net/lapb/lapb_subr.c
parent9703d69d9d153bb230711d0d577454552aeb13d4 (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 <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions