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:
Michael Lotz 2009-09-01 03:37:20 +00:00
parent 9781bd2e09
commit 5bfffb9d94

View File

@ -102,6 +102,7 @@ IOScheduler::IOScheduler(DMAResource* resource)
fOperationArray(NULL),
fAllocatedRequestOwners(NULL),
fRequestOwners(NULL),
fBlockSize(0),
fPendingOperations(0)
{
mutex_init(&fLock, "I/O scheduler");