* [PATCH] ext4: dir: Remove unnecessary braces
@ 2021-03-16 5:29 Milan Djurovic
2021-04-02 21:22 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Milan Djurovic @ 2021-03-16 5:29 UTC (permalink / raw)
To: tytso; +Cc: linux-ext4, Milan Djurovic
Removes braces to follow the coding style.
Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>
---
fs/ext4/dir.c | 4 ++--
1 file 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)) {
/*
--
2.30.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ext4: dir: Remove unnecessary braces
2021-03-16 5:29 [PATCH] ext4: dir: Remove unnecessary braces Milan Djurovic
@ 2021-04-02 21:22 ` Theodore Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2021-04-02 21:22 UTC (permalink / raw)
To: Milan Djurovic; +Cc: linux-ext4
On Mon, Mar 15, 2021 at 10:29:53PM -0700, Milan Djurovic wrote:
> Removes braces to follow the coding style.
>
> Signed-off-by: Milan Djurovic <mdjurovic@zohomail.com>
Thanks, applied.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-02 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 5:29 [PATCH] ext4: dir: Remove unnecessary braces Milan Djurovic
2021-04-02 21:22 ` Theodore Ts'o
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.