aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorZhang Yi <[email protected]>2025-05-06 01:20:08 +0000
committerTheodore Ts'o <[email protected]>2025-05-20 14:30:59 +0000
commitdbe27f06fa38b9bfc598f8864ae1c5d5831d9992 (patch)
tree0c90ca78c9f5de5f9d57e17d86f563f6bd4dd8ab /fs/ext4/fast_commit.c
parentext4: fix incorrect punch max_end (diff)
downloadkernel-dbe27f06fa38b9bfc598f8864ae1c5d5831d9992.tar.gz
kernel-dbe27f06fa38b9bfc598f8864ae1c5d5831d9992.zip
ext4: factor out ext4_get_maxbytes()
There are several locations that get the correct maxbytes value based on the inode's block type. It would be beneficial to extract a common helper function to make the code more clear. Signed-off-by: Zhang Yi <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Baokun Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions