The block size wasn't initialized, causing usages of an IOScheduler without
a DMAResource not to work. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32879 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -102,6 +102,7 @@ IOScheduler::IOScheduler(DMAResource* resource)
|
|||||||
fOperationArray(NULL),
|
fOperationArray(NULL),
|
||||||
fAllocatedRequestOwners(NULL),
|
fAllocatedRequestOwners(NULL),
|
||||||
fRequestOwners(NULL),
|
fRequestOwners(NULL),
|
||||||
|
fBlockSize(0),
|
||||||
fPendingOperations(0)
|
fPendingOperations(0)
|
||||||
{
|
{
|
||||||
mutex_init(&fLock, "I/O scheduler");
|
mutex_init(&fLock, "I/O scheduler");
|
||||||
|
|||||||
Reference in New Issue
Block a user