* [PATCH] fs: Fix description of vfs_tmpfile()
@ 2023-03-06 10:35 Roberto Sassu
2023-03-10 3:44 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Roberto Sassu @ 2023-03-06 10:35 UTC (permalink / raw)
To: viro, brauner; +Cc: linux-fsdevel, linux-kernel, Roberto Sassu
From: Roberto Sassu <roberto.sassu@huawei.com>
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>
---
fs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index edfedfbccae..f04f7be5893 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.
*
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs: Fix description of vfs_tmpfile()
2023-03-06 10:35 [PATCH] fs: Fix description of vfs_tmpfile() Roberto Sassu
@ 2023-03-10 3:44 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2023-03-10 3:44 UTC (permalink / raw)
To: Roberto Sassu; +Cc: brauner, linux-fsdevel, linux-kernel, Roberto Sassu
On Mon, Mar 06, 2023 at 11:35:31AM +0100, Roberto Sassu wrote:
> From: Roberto Sassu <roberto.sassu@huawei.com>
>
> 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>
Applied (#work.misc)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-10 3:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 10:35 [PATCH] fs: Fix description of vfs_tmpfile() Roberto Sassu
2023-03-10 3:44 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).