summaryrefslogtreecommitdiff
path: root/fs/ext4/acl.c
diff options
context:
space:
mode:
authorCarlos Guerrero Álvarez <carlosteniswarrior@gmail.com>2020-04-16 16:14:56 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-06-03 23:16:48 -0400
commit6b6aeffc932d5469c0dbb114bee59f34e8e02e65 (patch)
treea10232fdc095cc3eed06a732ab5e3c754b862522 /fs/ext4/acl.c
parentef5fd681d5159d64c464715d657660f0151c7419 (diff)
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>
Diffstat (limited to 'fs/ext4/acl.c')
-rw-r--r--fs/ext4/acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c
index 8c7bbf3e566d..b3eba92f38f5 100644
--- a/fs/ext4/acl.c
+++ b/fs/ext4/acl.c
@@ -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;
}