fs: Dump the list of files when the file description runs out

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
zhangshoukui 2024-08-19 19:35:05 +08:00 committed by Xiang Xiao
parent 8e4e09be2d
commit baa716a85d
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ static int files_extend(FAR struct filelist *list, size_t row)
if (CONFIG_NFILE_DESCRIPTORS_PER_BLOCK * orig_rows > OPEN_MAX)
{
files_dumplist(list);
return -EMFILE;
}