From: Milan Djurovic Date: Tue, 16 Mar 2021 05:29:53 +0000 (-0700) Subject: ext4: remove unnecessary braces in fs/ext4/dir.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=400086d7c11327cfe1b1aa4487adceb41e82b4df;p=linux.git ext4: remove unnecessary braces in fs/ext4/dir.c Removes braces to follow the coding style. Signed-off-by: Milan Djurovic Link: https://lore.kernel.org/r/20210316052953.67616-1-mdjurovic@zohomail.com Signed-off-by: Theodore Ts'o --- diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 5ed870614c8df..110688d6b7a61 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)) { /*