Skip to content

Commit 6b6aeff

Browse files
carlosguealvtytso
authored andcommitted
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>
1 parent ef5fd68 commit 6b6aeff

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎fs/ext4/acl.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,8 @@ __ext4_set_acl(handle_t *handle, struct inode *inode, int type,
215215
value, size, xattr_flags);
216216

217217
kfree(value);
218-
if (!error) {
218+
if (!error)
219219
set_cached_acl(inode, type, acl);
220-
}
221220

222221
return error;
223222
}

0 commit comments

Comments
 (0)