diff options
author | 2024-12-20 09:16:36 +0800 | |
---|---|---|
committer | 2025-02-10 07:48:25 -0500 | |
commit | ea3f17efd36b56c5839289716ba83eaa85893590 (patch) | |
tree | dce8b70f9d4b97509de84c7b5faa68d25015cb5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: factor out ext4_do_fallocate() (diff) | |
download | wireguard-linux-ea3f17efd36b56c5839289716ba83eaa85893590.tar.xz wireguard-linux-ea3f17efd36b56c5839289716ba83eaa85893590.zip |
ext4: move out inode_lock into ext4_fallocate()
Currently, all five sub-functions of ext4_fallocate() acquire the
inode's i_rwsem at the beginning and release it before exiting. This
process can be simplified by factoring out the management of i_rwsem
into the ext4_fallocate() function.
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-10-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