aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2024-12-20 09:16:33 +0800
committerTheodore Ts'o <tytso@mit.edu>2025-02-10 07:48:25 -0500
commit162e3c5ad1672ef41dccfb28ad198c704b8aa9e7 (patch)
tree82a0728180d6378c69fd26f8af5856cdf8c7d657 /tools/perf/scripts/python/export-to-postgresql.py
parentext4: refactor ext4_zero_range() (diff)
downloadwireguard-linux-162e3c5ad1672ef41dccfb28ad198c704b8aa9e7.tar.xz
wireguard-linux-162e3c5ad1672ef41dccfb28ad198c704b8aa9e7.zip
ext4: refactor ext4_collapse_range()
Simplify ext4_collapse_range() and align its code style with that of ext4_zero_range() and ext4_punch_hole(). 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-7-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