diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2023-03-06 11:35:31 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-03-12 20:03:48 -0400 |
commit | 73bb5a9017b93093854c18eb7ca99c7061b16367 (patch) | |
tree | 8f6a21d1ef9c8fa74087d89578f73f28d740fd8e /fs/namei.c | |
parent | ede3ef5c1e0766b309a1bf087e4c50ea02d3f26f (diff) |
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 <roberto.sassu@huawei.com>
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index edfedfbccaef..f04f7be58933 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. * |