Kernel: Allow listing files even if one of directories blocks are empty

This commit is contained in:
2024-09-17 15:53:14 +03:00
parent a084f83f4c
commit 97ee370ffe
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -475,6 +475,8 @@ namespace Kernel
}
});
if (entry_count == 0)
return BAN::Error::from_errno(ENODATA);
return entry_count;
}