From 6b18056882abf93ae3a78f67901695998efd8cee Mon Sep 17 00:00:00 2001 From: Ankit Thakur Date: Sat, 24 Oct 2026 14:51:52 +0530 Subject: [PATCH] 9p: fix typos and wrong parameter docs in vfs_inode.c Fix spelling mistakes in comments (functon -> function, Hadlink -> Hardlink). Also fix the kernel-doc of v9fs_vfs_mkdir(), which described @dir and @dentry as being unlinked instead of being the parent directory and the directory being created. Signed-off-by: Ankit Thakur Message-ID: <20261024092154.1844-2-codeankit.thakur@gmail.com> Signed-off-by: Dominique Martinet --- fs/9p/vfs_inode.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 3829554ca369..efd8aef5a793 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -481,7 +481,7 @@ static int v9fs_at_to_dotl_flags(int flags) } /** - * v9fs_dec_count - helper functon to drop i_nlink. + * v9fs_dec_count - helper function to drop i_nlink. * * If a directory had nlink <= 2 (including . and ..), then we should not drop * the link count, which indicates the underlying exported fs doesn't maintain @@ -673,8 +673,8 @@ v9fs_vfs_create(struct mnt_idmap *idmap, struct inode *dir, /** * v9fs_vfs_mkdir - VFS mkdir hook to create a directory * @idmap: idmap of the mount - * @dir: inode that is being unlinked - * @dentry: dentry that is being unlinked + * @dir: inode of the parent directory + * @dentry: dentry representing the directory being created * @mode: mode for new directory * */ @@ -1130,7 +1130,7 @@ v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, if (v9fs_proto_dotu(v9ses)) { unsigned int i_nlink; /* - * Hadlink support got added later to the .u extension. + * Hardlink support got added later to the .u extension. * So there can be a server out there that doesn't * support this even with .u extension. That would * just leave us with stat->extension being an empty