Commit 73bb5a90 authored by Roberto Sassu's avatar Roberto Sassu Committed by Al Viro

fs: Fix description of vfs_tmpfile()

Update the description of vfs_tmpfile() to match the current parameters of
that function.

Fixes: 9751b338 ("vfs: move open right after ->tmpfile()")
Signed-off-by: default avatarRoberto Sassu <roberto.sassu@huawei.com>
Acked-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ede3ef5c
...@@ -3574,9 +3574,9 @@ static int do_open(struct nameidata *nd, ...@@ -3574,9 +3574,9 @@ static int do_open(struct nameidata *nd,
/** /**
* vfs_tmpfile - create tmpfile * vfs_tmpfile - create tmpfile
* @idmap: idmap of the mount the inode was found from * @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 * @mode: mode of the new tmpfile
* @open_flag: flags
* *
* Create a temporary file. * Create a temporary file.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment