From: Dan Carpenter <error27@gmail.com>
To: Jori Koolstra <jkoolstra@xs4all.nl>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: [PATCH] vfs: clean up indenting in lookup_open()
Date: Tue, 15 Sep 2026 19:37:53 +0300 [thread overview]
Message-ID: <aql0YTgwtRI0VZyG@stanley.mountain> (raw)
These lines are indented too far. Delete a tab.
Signed-off-by: Dan Carpenter <error27@gmail.com>
---
fs/namei.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 1dd4ec7d0e62..48b28ed44a9e 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -4636,9 +4636,9 @@ static struct dentry *lookup_open(struct nameidata *nd, struct file *file,
if (create_dir) {
struct dentry *res = vfs_mkdir_no_perm(idmap, dir_inode, dentry,
mode, &delegated_inode);
- error = PTR_ERR_OR_ZERO(res);
- if (!error)
- dentry = res;
+ error = PTR_ERR_OR_ZERO(res);
+ if (!error)
+ dentry = res;
} else {
error = vfs_create_no_perm(idmap, dentry, mode, &delegated_inode);
}
--
2.53.0
next reply other threads:[~2026-09-15 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 16:37 Dan Carpenter [this message]
2026-09-15 20:40 ` [PATCH] vfs: clean up indenting in lookup_open() Jan Kara
2026-09-15 21:56 ` Jori Koolstra
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=aql0YTgwtRI0VZyG@stanley.mountain \
--to=error27@gmail.com \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=jkoolstra@xs4all.nl \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 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.