ext4: fix a style issue in fs/ext4/acl.c

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>
This commit is contained in:
Carlos Guerrero Álvarez 2020-04-16 16:14:56 +02:00 committed by Theodore Ts'o
parent ef5fd681d5
commit 6b6aeffc93

View file

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