Skip to content

Commit 73bb5a9

Browse files
robertosassuAl Viro
authored andcommitted
fs: Fix description of vfs_tmpfile()
Update the description of vfs_tmpfile() to match the current parameters of that function. Fixes: 9751b33 ("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>
1 parent ede3ef5 commit 73bb5a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/namei.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,9 +3574,9 @@ static int do_open(struct nameidata *nd,
35743574
/**
35753575
* vfs_tmpfile - create tmpfile
35763576
* @idmap: idmap of the mount the inode was found from
3577-
* @dentry: pointer to dentry of the base directory
3577+
* @parentpath: pointer to the path of the base directory
3578+
* @file: file descriptor of the new tmpfile
35783579
* @mode: mode of the new tmpfile
3579-
* @open_flag: flags
35803580
*
35813581
* Create a temporary file.
35823582
*

0 commit comments

Comments
 (0)