From e435fca0e2883aae8129efe8267d2b4edf4163d9 Mon Sep 17 00:00:00 2001 From: yintao Date: Fri, 17 Nov 2023 19:41:11 +0800 Subject: [PATCH] fs_file.c: modify files_countlist comments Signed-off-by: yintao --- fs/inode/fs_files.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index 352d5eec82..afe6766c62 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -512,16 +512,13 @@ void files_putlist(FAR struct filelist *list) * Name: files_countlist * * Description: - * Given a file descriptor, return the corresponding instance of struct - * file. + * Get file count from file list. * * Input Parameters: - * fd - The file descriptor - * filep - The location to return the struct file instance + * list - Pointer to the file list structure. * * Returned Value: - * Zero (OK) is returned on success; a negated errno value is returned on - * any failure. + * file count of file list. * ****************************************************************************/