Skip to content

Commit

Permalink
fs: Fix description of vfs_tmpfile()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roberto Sassu authored and Al Viro committed Mar 13, 2023
1 parent ede3ef5 commit 73bb5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 73bb5a9

Please sign in to comment.