File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,7 @@ static int ext4_release_file(struct inode *inode, struct file *filp)
145
145
/* if we are the last writer on the inode, drop the block reservation */
146
146
if ((filp -> f_mode & FMODE_WRITE ) &&
147
147
(atomic_read (& inode -> i_writecount ) == 1 ) &&
148
- !EXT4_I (inode )-> i_reserved_data_blocks )
149
- {
148
+ !EXT4_I (inode )-> i_reserved_data_blocks ) {
150
149
down_write (& EXT4_I (inode )-> i_data_sem );
151
150
ext4_discard_preallocations (inode );
152
151
up_write (& EXT4_I (inode )-> i_data_sem );
@@ -810,7 +809,7 @@ static int ext4_sample_last_mounted(struct super_block *sb,
810
809
return err ;
811
810
}
812
811
813
- static int ext4_file_open (struct inode * inode , struct file * filp )
812
+ static int ext4_file_open (struct inode * inode , struct file * filp )
814
813
{
815
814
int ret ;
816
815
You can’t perform that action at this time.
0 commit comments