Commit 6b6aeffc authored by Carlos Guerrero Álvarez's avatar Carlos Guerrero Álvarez Committed by Theodore Ts'o

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.comSigned-off-by: default avatarCarlos Guerrero Álvarez <carlosteniswarrior@gmail.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarRitesh Harjani <riteshh@linux.ibm.com>
parent ef5fd681
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment