diff options
author | 2022-09-16 16:38:36 +0800 | |
---|---|---|
committer | 2022-09-30 23:46:52 -0400 | |
commit | e64e6ca90913b0dfe14bf7d529df0753a6746e23 (patch) | |
tree | 4e0ac15518808418b48ad00ff925ce0af3f5b90f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | ext4: factor out ext4_fc_disabled() (diff) | |
download | wireguard-linux-e64e6ca90913b0dfe14bf7d529df0753a6746e23.tar.xz wireguard-linux-e64e6ca90913b0dfe14bf7d529df0753a6746e23.zip |
ext4: adjust fast commit disable judgement order in ext4_fc_track_inode
If fastcommit is already disabled, there isn't need to mark inode ineligible.
So move 'ext4_fc_disabled()' judgement bofore 'ext4_should_journal_data(inode)'
judgement which can avoid to do meaningless judgement.
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220916083836.388347-3-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions