summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorMilan Djurovic <mdjurovic@zohomail.com>2021-03-16 06:29:53 +0100
committerTheodore Ts'o <tytso@mit.edu>2021-04-02 23:22:14 +0200
commit400086d7c11327cfe1b1aa4487adceb41e82b4df (patch)
treef42f5ebe0513b08ecad9394c8c0f9560a7a1fb09 /fs/ext4
parentext4: delete some unused tracepoint definitions (diff)
downloadlinux-400086d7c11327cfe1b1aa4487adceb41e82b4df.tar.xz
linux-400086d7c11327cfe1b1aa4487adceb41e82b4df.zip
ext4: remove unnecessary braces in fs/ext4/dir.c
Removes braces to follow the coding style. Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com> Link: https://lore.kernel.org/r/20210316052953.67616-1-mdjurovic@zohomail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index 5ed870614c8d..110688d6b7a6 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -124,9 +124,9 @@ static int ext4_readdir(struct file *file, struct dir_context *ctx)
if (is_dx_dir(inode)) {
err = ext4_dx_readdir(file, ctx);
- if (err != ERR_BAD_DX_DIR) {
+ if (err != ERR_BAD_DX_DIR)
return err;
- }
+
/* Can we just clear INDEX flag to ignore htree information? */
if (!ext4_has_metadata_csum(sb)) {
/*