diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2024-09-06 14:14:01 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-11-12 23:54:14 -0500 |
commit | a90825898becb730377b157884c82a725f1d3ffa (patch) | |
tree | e300340dabbfadc6bb063c0673b82f1c8ccac43f /fs/filesystems.c | |
parent | 667de03a3b5eab4ccf532c6e399fe3488a1db58b (diff) | |
download | lwn-a90825898becb730377b157884c82a725f1d3ffa.tar.gz lwn-a90825898becb730377b157884c82a725f1d3ffa.zip |
ext4: don't pass full mapping flags to ext4_es_insert_extent()
When converting a delalloc extent in ext4_es_insert_extent(), since we
only want to pass the info of whether the quota has already been claimed
if the allocation is a direct allocation from ext4_map_create_blocks(),
there is no need to pass full mapping flags, so changes to just pass
whether the EXT4_GET_BLOCKS_DELALLOC_RESERVE bit is set.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240906061401.2980330-1-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions