mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:08:13 +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
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…
Add table
Add a link
Reference in a new issue