Re: [PATCH] fs: modify the annotation of vfs_mkdir() in fs/namei.c

From: Al Viro
Date: Fri Jun 14 2024 - 23:01:10 EST


On Sat, Jun 15, 2024 at 09:59:13AM +0800, Congjie Zhou wrote:
> modify the annotation of @dir and @dentry


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

Ugh... How about 'inode of the parent directory' and 'dentry
of the child to be' instead?