linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c
@ 2024-06-15  1:59 Congjie Zhou
  2024-06-15  3:00 ` Al Viro
  2024-07-18 16:25 ` [PATCH v4] vfs: correct the comments of vfs_*() helpers Congjie Zhou
  0 siblings, 2 replies; 11+ messages in thread
From: Congjie Zhou @ 2024-06-15  1:59 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: viro, brauner, linux-kernel, Congjie Zhou

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-19 12:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-15  1:59 [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c Congjie Zhou
2024-06-15  3:00 ` 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

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).