diff options
| author | Zhang Yi <[email protected]> | 2024-09-06 06:14:01 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-11-13 04:54:14 +0000 |
| commit | a90825898becb730377b157884c82a725f1d3ffa (patch) | |
| tree | e300340dabbfadc6bb063c0673b82f1c8ccac43f /fs/jbd2/commit.c | |
| parent | ext4: mark ctx_*_flags() with __maybe_unused (diff) | |
| download | kernel-a90825898becb730377b157884c82a725f1d3ffa.tar.gz kernel-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 <[email protected]>
Signed-off-by: Zhang Yi <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
