open: fix finish_open() and vfs_open() kernel-doc comment
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()")
Signed-off-by Xiongfeng Wang <[email protected]>
--- fs/open.c | 2 -- 1 file changed, 2 deletions(-)
fs/open.c +0 -2
@@ -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