ext4: fix incorrect indentation of if statement
authorColin Ian King <colin.king@canonical.com>
Thu, 11 Jan 2018 19:17:30 +0000 (14:17 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 11 Jan 2018 19:17:30 +0000 (14:17 -0500)
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>
fs/ext4/namei.c

index e750d68fbcb50c0447e13556905da8401f5f6b03..c5696a93a3a606be9dd214ee8cd2d0544639730f 100644 (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);