projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89849c
)
ext4: use local variable ei instead of EXT4_I() macro
author
chenyichong
<chenyichong@uniontech.com>
Wed, 26 May 2021 05:29:30 +0000
(13:29 +0800)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 23 Jun 2021 01:34:17 +0000
(21:34 -0400)
Signed-off-by: chenyichong <chenyichong@uniontech.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link:
https://lore.kernel.org/r/20210526052930.11278-1-chenyichong@uniontech.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c
patch
|
blob
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index e1ff4eb3ccba790e04b9597cbe465ee36b4135bb..c5cf700e2c8f057f1111a63671e9bc5119434ae2 100644
(file)
--- 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)