From: Roberto Sassu Date: Mon, 6 Mar 2023 10:35:31 +0000 (+0100) Subject: fs: Fix description of vfs_tmpfile() X-Git-Tag: v6.6.17~5072^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=73bb5a9017b93093854c18eb7ca99c7061b16367;p=platform%2Fkernel%2Flinux-rpi.git fs: Fix description of vfs_tmpfile() Update the description of vfs_tmpfile() to match the current parameters of that function. Fixes: 9751b338656f ("vfs: move open right after ->tmpfile()") Signed-off-by: Roberto Sassu Acked-by: Christian Brauner Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index edfedfb..f04f7be 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3574,9 +3574,9 @@ static int do_open(struct nameidata *nd, /** * vfs_tmpfile - create tmpfile * @idmap: idmap of the mount the inode was found from - * @dentry: pointer to dentry of the base directory + * @parentpath: pointer to the path of the base directory + * @file: file descriptor of the new tmpfile * @mode: mode of the new tmpfile - * @open_flag: flags * * Create a temporary file. *