From: Congjie Zhou <zcjie0802@qq.com>
To: linux-fsdevel@vger.kernel.org
Cc: viro@zeniv.linux.org.uk, brauner@kernel.org,
linux-kernel@vger.kernel.org, Congjie Zhou <zcjie0802@qq.com>
Subject: [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c
Date: Sat, 15 Jun 2024 09:59:13 +0800 [thread overview]
Message-ID: <tencent_3A7366F414667EE52C073850077331ADC709@qq.com> (raw)
modify the annotation of @dir and @dentry
Signed-off-by: Congjie Zhou <zcjie0802@qq.com>
---
fs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 37fb0a8aa..eda889f0c 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -4095,8 +4095,8 @@ SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, d
/**
* vfs_mkdir - create directory
* @idmap: idmap of the mount the inode was found from
- * @dir: inode of @dentry
- * @dentry: pointer to dentry of the base directory
+ * @dir: inode of parent dentry of @dentry
+ * @dentry: pointer to dentry of the new directory
* @mode: mode of the new directory
*
* Create a directory.
--
2.34.1
next reply other threads:[~2024-06-15 2:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-15 1:59 Congjie Zhou [this message]
2024-06-15 3:00 ` [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c Al Viro
2024-06-15 4:38 ` [PATCH v2] " Congjie Zhou
2024-06-15 6:29 ` Christoph Hellwig
2024-06-15 6:49 ` zcjie0802
2024-06-15 6:55 ` Al Viro
2024-06-15 7:31 ` Christoph Hellwig
2024-06-15 7:59 ` Al Viro
2024-06-15 10:34 ` [PATCH v3] fs: modify the comments " Congjie Zhou
2024-07-18 16:25 ` [PATCH v4] vfs: correct the comments of vfs_*() helpers Congjie Zhou
2024-07-19 12:05 ` Christian Brauner
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=tencent_3A7366F414667EE52C073850077331ADC709@qq.com \
--to=zcjie0802@qq.com \
--cc=brauner@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).