diff --git a/src/system/kernel/device_manager/IORequest.cpp b/src/system/kernel/device_manager/IORequest.cpp index 2c44253ad1..0ed0aaae54 100644 --- a/src/system/kernel/device_manager/IORequest.cpp +++ b/src/system/kernel/device_manager/IORequest.cpp @@ -939,6 +939,7 @@ IORequest::NotifyFinished() TRACE("IORequest::NotifyFinished(): request: %p\n", this); MutexLocker locker(fLock); + ASSERT(fStatus != 1); if (fStatus == B_OK && !fPartialTransfer && RemainingBytes() > 0) { // The request is not really done yet. If it has an iteration callback,