ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 5 Nov 2023 03:47:53 +0000 (12:47 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 8 Nov 2023 00:54:25 +0000 (18:54 -0600)
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 <lkp@intel.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/vfs.c

index 1053127f71adfbaa946809da2f84a41ffd065564..c53dea5598fc63718e5df7f42e2079d5ac00497a 100644 (file)
@@ -1177,9 +1177,10 @@ static int ksmbd_vfs_lookup_in_dir(const struct path *dir, char *name,
 
 /**
  * ksmbd_vfs_kern_path_locked() - lookup a file and get path info
- * @name:      file path that is relative to share
- * @flags:     lookup flags
- * @path:      if lookup succeed, return path info
+ * @name:              file path that is relative to share
+ * @flags:             lookup flags
+ * @parent_path:       if lookup succeed, return parent_path info
+ * @path:              if lookup succeed, return path info
  * @caseless:  caseless filename lookup
  *
  * Return:     0 on success, otherwise error