Skip to contentSkip to conversation

ext4: fix coding style in file.c

PATCH New Dio Putra 1 participant 1 message Jun 14, 2020 ext4 file system

lore
Share & tools
lore

Dio Putra

author
#0 lore raw

PATCH 1/1 ext4: fix coding style in file.c

Fixed a few coding style issues in file.c

---
 fs/ext4/file.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
fs/ext4/file.c +2 -3
index 0d624250a62b..10e4a8389885 100644
@@ -145,8 +145,7 @@ static int ext4_release_file(struct inode *inode, struct file *filp)
 	/* if we are the last writer on the inode, drop the block reservation */
 	if ((filp->f_mode & FMODE_WRITE) &&
 			(atomic_read(&inode->i_writecount) == 1) &&
-		        !EXT4_I(inode)->i_reserved_data_blocks)
-	{
+			!EXT4_I(inode)->i_reserved_data_blocks) {
 		down_write(&EXT4_I(inode)->i_data_sem);
 		ext4_discard_preallocations(inode);
 		up_write(&EXT4_I(inode)->i_data_sem);
@@ -797,7 +796,7 @@ static int ext4_sample_last_mounted(struct super_block *sb,
 	return err;
 }
 
-static int ext4_file_open(struct inode * inode, struct file * filp)
+static int ext4_file_open(struct inode *inode, struct file *filp)
 {
 	int ret;