ext4: fix a style issue in fs/ext4/acl.c
authorCarlos Guerrero Álvarez <carlosteniswarrior@gmail.com>
Thu, 16 Apr 2020 14:14:56 +0000 (16:14 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Jun 2020 03:16:48 +0000 (23:16 -0400)
Fixed an if statement where braces were not needed.

Link: https://lore.kernel.org/r/20200416141456.1089-1-carlosteniswarrior@gmail.com
Signed-off-by: Carlos Guerrero Álvarez <carlosteniswarrior@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
fs/ext4/acl.c

index 8c7bbf3..b3eba92 100644 (file)
@@ -215,9 +215,8 @@ __ext4_set_acl(handle_t *handle, struct inode *inode, int type,
                                      value, size, xattr_flags);
 
        kfree(value);
-       if (!error) {
+       if (!error)
                set_cached_acl(inode, type, acl);
-       }
 
        return error;
 }