aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenyichong <[email protected]>2021-05-26 13:29:30 +0800
committerTheodore Ts'o <[email protected]>2021-06-22 21:34:17 -0400
commitf9505c72b2ee80cb68af95449a5215906130e3be (patch)
treea087099802c59b6adddf6c593934a5ffd4c363ee
parentc89849cc0259f3d33624cc3bd127685c3c0fa25d (diff)
ext4: use local variable ei instead of EXT4_I() macro
Signed-off-by: chenyichong <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index e1ff4eb3ccba..c5cf700e2c8f 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -374,7 +374,7 @@ void ext4_da_update_reserve_space(struct inode *inode,
ei->i_reserved_data_blocks -= 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 */
if (quota_claim)