提交 f9505c72 编写于 作者: C chenyichong 提交者: Theodore Ts'o

ext4: use local variable ei instead of EXT4_I() macro

Signed-off-by: Nchenyichong <chenyichong@uniontech.com>
Reviewed-by: NRitesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20210526052930.11278-1-chenyichong@uniontech.comSigned-off-by: NTheodore Ts'o <tytso@mit.edu>
上级 c89849cc
...@@ -374,7 +374,7 @@ void ext4_da_update_reserve_space(struct inode *inode, ...@@ -374,7 +374,7 @@ void ext4_da_update_reserve_space(struct inode *inode,
ei->i_reserved_data_blocks -= used; ei->i_reserved_data_blocks -= used;
percpu_counter_sub(&sbi->s_dirtyclusters_counter, used); percpu_counter_sub(&sbi->s_dirtyclusters_counter, used);
spin_unlock(&EXT4_I(inode)->i_block_reservation_lock); spin_unlock(&ei->i_block_reservation_lock);
/* Update quota subsystem for data blocks */ /* Update quota subsystem for data blocks */
if (quota_claim) if (quota_claim)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册