diff options
author | 2025-05-06 09:20:08 +0800 | |
---|---|---|
committer | 2025-05-20 10:30:59 -0400 | |
commit | dbe27f06fa38b9bfc598f8864ae1c5d5831d9992 (patch) | |
tree | 0c90ca78c9f5de5f9d57e17d86f563f6bd4dd8ab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ext4: fix incorrect punch max_end (diff) | |
download | wireguard-linux-dbe27f06fa38b9bfc598f8864ae1c5d5831d9992.tar.xz wireguard-linux-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 <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Link: https://patch.msgid.link/20250506012009.3896990-3-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions