Kernel: Default initialize flock as unlocked

This caused unlocked flock's to hang on lock
This commit is contained in:
Bananymous 2025-11-02 21:10:13 +02:00
parent b822d42889
commit 7367672570
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ namespace Kernel
struct flock_t
{
bool locked;
bool shared;
bool locked { false };
bool shared { false };
ThreadBlocker thread_blocker;
BAN::HashSet<pid_t> lockers;
};