Skip to content

Commit e030a28

Browse files
dioput12tytso
authored andcommitted
ext4: fix coding style in file.c
Fixed a few coding style issues in file.c Signed-off-by: Dio Putra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
1 parent e0f49d2 commit e030a28

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fs/ext4/file.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ static int ext4_release_file(struct inode *inode, struct file *filp)
145145
/* if we are the last writer on the inode, drop the block reservation */
146146
if ((filp->f_mode & FMODE_WRITE) &&
147147
(atomic_read(&inode->i_writecount) == 1) &&
148-
!EXT4_I(inode)->i_reserved_data_blocks)
149-
{
148+
!EXT4_I(inode)->i_reserved_data_blocks) {
150149
down_write(&EXT4_I(inode)->i_data_sem);
151150
ext4_discard_preallocations(inode);
152151
up_write(&EXT4_I(inode)->i_data_sem);
@@ -810,7 +809,7 @@ static int ext4_sample_last_mounted(struct super_block *sb,
810809
return err;
811810
}
812811

813-
static int ext4_file_open(struct inode * inode, struct file * filp)
812+
static int ext4_file_open(struct inode *inode, struct file *filp)
814813
{
815814
int ret;
816815

0 commit comments

Comments
 (0)