Skip to contentSkip to conversation

open: fix finish_open() and vfs_open() kernel-doc comment

PATCH New Xiongfeng Wang 1 participant 1 message Nov 8, 2022 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 open: fix finish_open() and vfs_open() kernel-doc comment

commit be12af3ef5e6 ("getting rid of 'opened' argument of ->atomic_open() - part 1") remove the last parameter 'opened' but forgot update the kernel-doc. So is the commit ae2bb293a3e8 ("get rid of cred argument of vfs_open() and do_dentry_open()"). Let's remove the redundant parameter description.

Fixes be12af3ef5e6 ("getting rid of 'opened' argument of ->atomic_open() - part 1")
Fixes ae2bb293a3e8 ("get rid of cred argument of vfs_open() and do_dentry_open()")
---
 fs/open.c | 2 --
 1 file changed, 2 deletions(-)
fs/open.c +0 -2
index a81319b6177f..d35965434f70 100644
@@ -951,7 +951,6 @@ static int do_dentry_open(struct file *f,
  * @file: file pointer
  * @dentry: pointer to dentry
  * @open: open callback
- * @opened: state of open
  *
  * This can be used to finish opening a file passed to i_op->atomic_open().
  *
@@ -1005,7 +1004,6 @@ EXPORT_SYMBOL(file_path);
  * vfs_open - open the file at the given path
  * @path: path to open
  * @file: newly allocated file with f_flag initialized
- * @cred: credentials to use
  */
 int vfs_open(const struct path *path, struct file *file)
 {
Signature · 1 line
2.20.1