mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Kernel/Storage: Check IDE error condition under the correct lock
This bug was probably around for a very long time, but it is noticeable only under VirtualBox as it generated an non fatal error which caused a kernel panic because we VERIFYed the wrong lock to be locked.
This commit is contained in:
parent
ebbc38cd2a
commit
95238bdb16
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/95238bdb16 Pull-request: https://github.com/SerenityOS/serenity/pull/14587
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ static void print_ide_status(u8 status)
|
|||
|
||||
void IDEChannel::try_disambiguate_error()
|
||||
{
|
||||
VERIFY(m_lock.is_locked());
|
||||
VERIFY(m_request_lock.is_locked());
|
||||
dbgln("IDEChannel: Error cause:");
|
||||
|
||||
switch (m_device_error) {
|
||||
|
|
Loading…
Reference in a new issue