]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: check env when mapping and modifying extents
authorZhang Yi <yi.zhang@huawei.com>
Wed, 23 Apr 2025 08:52:56 +0000 (16:52 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 15 May 2025 17:14:51 +0000 (13:14 -0400)
commit1b4d2a0b794669e54914e3f429c08e49ea40b40c
tree7958556b3bd19eb75bce361eb26734dcae9aedd2
parent7871da20d484d5c7e536bfd52845b6be4488ff30
ext4: check env when mapping and modifying extents

Add ext4_check_map_extents_env() to the places where loading extents,
mapping blocks, removing blocks, and modifying extents, excluding the
I/O writeback context. This function will verify whether the locking
mechanisms in place are adequate.

Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250423085257.122685-9-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/inode.c