Kernel: Allow select to work on any type of inode

This commit is contained in:
Bananymous 2024-05-28 16:03:54 +03:00
parent 54db4ab215
commit 598a09c13d
1 changed files with 0 additions and 4 deletions

View File

@ -1062,10 +1062,6 @@ namespace Kernel
return;
auto inode = inode_or_error.release_value();
auto mode = inode->mode();
if (!mode.ifreg() && !mode.ififo() && !mode.ifsock() && !inode->is_pipe() && !inode->is_tty())
return;
if ((inode.ptr()->*func)())
{
FD_SET(fd, dest);