1
0
Fork 0

ext4: fix incorrect indentation of if statement

The indentation is incorrect and spaces need replacing with a tab
on the if statement.

Cleans up smatch warning:
fs/ext4/namei.c:3220 ext4_link() warn: inconsistent indenting

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
hifive-unleashed-5.1
Colin Ian King 2018-01-11 14:17:30 -05:00 committed by Theodore Ts'o
parent 9f0372488c
commit a794df0ecd
1 changed files with 3 additions and 3 deletions

View File

@ -3221,9 +3221,9 @@ static int ext4_link(struct dentry *old_dentry,
if (err)
return err;
if ((ext4_test_inode_flag(dir, EXT4_INODE_PROJINHERIT)) &&
(!projid_eq(EXT4_I(dir)->i_projid,
EXT4_I(old_dentry->d_inode)->i_projid)))
if ((ext4_test_inode_flag(dir, EXT4_INODE_PROJINHERIT)) &&
(!projid_eq(EXT4_I(dir)->i_projid,
EXT4_I(old_dentry->d_inode)->i_projid)))
return -EXDEV;
err = dquot_initialize(dir);