public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: root <carlosteniswarrior@gmail.com>
To: tytso@mit.edu
Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Carlos Guerrero Álvarez" <carlosteniswarrior@gmail.com>
Subject: [PATCH] EXT4: acl: Fix a style issue
Date: Wed, 15 Apr 2020 00:54:14 +0200	[thread overview]
Message-ID: <20200414225414.70014-1-root@localhost.localdomain> (raw)

From: Carlos Guerrero Álvarez <carlosteniswarrior@gmail.com>

Fixed an if statement where braces were not needed.

Signed-off-by: Carlos Guerrero Álvarez <carlosteniswarrior@gmail.com>
---
 fs/ext4/acl.c | 3 +--
 1 file changed, 1 insertion(+), 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;
 }
-- 
2.25.2


             reply	other threads:[~2020-04-15 13:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 22:54 root [this message]
     [not found] <20200416141456.1089-1-carlosteniswarrior@gmail.com>
2020-05-07 14:58 ` [PATCH] EXT4: acl: Fix a style issue Theodore Y. Ts'o
  -- strict thread matches above, loose matches on Subject: below --
2020-04-14 22:51 root

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200414225414.70014-1-root@localhost.localdomain \
    --to=carlosteniswarrior@gmail.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox