diff options
author | 2024-12-20 09:16:34 +0800 | |
---|---|---|
committer | 2025-02-10 07:48:25 -0500 | |
commit | 49425504376c335c68f7be54ae7c32312afd9475 (patch) | |
tree | 0458b31849f690640b2b5c2afc0af19e2c310acc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: refactor ext4_collapse_range() (diff) | |
download | wireguard-linux-49425504376c335c68f7be54ae7c32312afd9475.tar.xz wireguard-linux-49425504376c335c68f7be54ae7c32312afd9475.zip |
ext4: refactor ext4_insert_range()
Simplify ext4_insert_range() and align its code style with that of
ext4_collapse_range(). Refactor it by: a) renaming variables, b)
removing redundant input parameter checks and moving the remaining
checks under i_rwsem in preparation for future refactoring, and c)
renaming the three stale error tags.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/20241220011637.1157197-8-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions