Skip to content

Commit a09a129

Browse files
namjaejeonroxanan1996
authored andcommitted
ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
BugLink: https://bugs.launchpad.net/bugs/2052406 [ Upstream commit f604971 ] Fix argument list that the kdoc format and script verified in ksmbd_vfs_kern_path_locked(). fs/smb/server/vfs.c:1207: warning: Function parameter or member 'parent_path' not described in 'ksmbd_vfs_kern_path_locked' Reported-by: kernel test robot <[email protected]> Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Portia Stephens <[email protected]> Signed-off-by: Roxana Nicolescu <[email protected]>
1 parent b592e59 commit a09a129

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fs/ksmbd/vfs.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,9 +1179,10 @@ static int ksmbd_vfs_lookup_in_dir(const struct path *dir, char *name,
11791179

11801180
/**
11811181
* ksmbd_vfs_kern_path_locked() - lookup a file and get path info
1182-
* @name: file path that is relative to share
1183-
* @flags: lookup flags
1184-
* @path: if lookup succeed, return path info
1182+
* @name: file path that is relative to share
1183+
* @flags: lookup flags
1184+
* @parent_path: if lookup succeed, return parent_path info
1185+
* @path: if lookup succeed, return path info
11851186
* @caseless: caseless filename lookup
11861187
*
11871188
* Return: 0 on success, otherwise error

0 commit comments

Comments
 (0)