lkml.org 
[lkml]   [2023]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Update documentation of vfs_tmpfile
From
Date
On function vfs_tmpfile, documentation is updated according to function signature update.

Description for 'dentry' and 'open_flag' removed.
Description for 'parentpath' and 'file' added.

Signed-off-by: Ben Hok-Chun NG <me@benbenng.net>
---
fs/namei.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/namei.c b/fs/namei.c
index 309ae6fc8c99..21261163d6d3 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -3571,9 +3571,9 @@ static int do_open(struct nameidata *nd,
/**
* vfs_tmpfile - create tmpfile
* @mnt_userns: user namespace of the mount the inode was found from
- * @dentry: pointer to dentry of the base directory
+ * @parentpath: path to the base directory
+ * @file: pointer to the file struct of the new tmpfile
* @mode: mode of the new tmpfile
- * @open_flag: flags
*
* Create a temporary file.
*
--
2.34.1


\
 
 \ /
  Last update: 2023-03-27 00:29    [W:0.052 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site