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 <codeankit.thakur@gmail.com>
Message-ID: <20261024092154.1844-2-codeankit.thakur@gmail.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
This commit is contained in:
Ankit Thakur 2026-10-24 14:51:52 +05:30 committed by Dominique Martinet
parent ec8cd74fcf
commit 6b18056882

View File

@ -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