Skip to contentSkip to conversation

EXT4: acl: Fix a style issue

PATCH Applied Carlos Guerrero Alvarez 2 participants 2 messages Apr 16, 2020 – May 7, 2020 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 EXT4: acl: Fix a style issue

From: Carlos Guerrero Álvarez <[email protected]>

Fixed an if statement where braces were not needed.

---
 fs/ext4/acl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/ext4/acl.c +1 -2
index 8c7bbf3e566d..b3eba92f38f5 100644
@@ -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;
 }
Signature · 1 line
2.25.2