diff options
| author | Ye Bin <[email protected]> | 2023-03-07 01:52:52 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2023-03-11 05:44:24 +0000 |
| commit | 1dcdce5919115a471bf4921a57f20050c545a236 (patch) | |
| tree | f26bca0e6d920875358e61bfdfa01194c640216f /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | ext4: Fix deadlock during directory rename (diff) | |
| download | kernel-1dcdce5919115a471bf4921a57f20050c545a236.tar.gz kernel-1dcdce5919115a471bf4921a57f20050c545a236.zip | |
ext4: move where set the MAY_INLINE_DATA flag is set
The only caller of ext4_find_inline_data_nolock() that needs setting of
EXT4_STATE_MAY_INLINE_DATA flag is ext4_iget_extra_inode(). In
ext4_write_inline_data_end() we just need to update inode->i_inline_off.
Since we are going to add one more caller that does not need to set
EXT4_STATE_MAY_INLINE_DATA, just move setting of EXT4_STATE_MAY_INLINE_DATA
out to ext4_iget_extra_inode().
Signed-off-by: Ye Bin <[email protected]>
Cc: [email protected]
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
