1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:37:35 +00:00

Kernel: Remove shadowing member variable from FileDescriptionBlocker

FileDescriptionBlocker::m_should_block was shadowing the parent's
FileBlocker::m_should_block variable, which would cause should_block()
to return the wrong value.

Found by @gunnarbeutner
This commit is contained in:
Tom 2021-05-05 10:11:53 -06:00 committed by Andreas Kling
parent 37903db2b4
commit 72a61fe137

View file

@ -559,7 +559,6 @@ public:
const BlockFlags m_flags;
BlockFlags& m_unblocked_flags;
bool m_did_unblock { false };
bool m_should_block { true };
};
class AcceptBlocker final : public FileDescriptionBlocker {