Missed that file in the commit for r25812.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
24b493f904
commit
45b959656f
7
src/system/kernel/cache/block_cache.cpp
vendored
7
src/system/kernel/cache/block_cache.cpp
vendored
@ -283,9 +283,9 @@ static status_t write_cached_block(block_cache *cache, cached_block *block,
|
||||
|
||||
|
||||
static DoublyLinkedList<block_cache> sCaches;
|
||||
static mutex sCachesLock;
|
||||
static mutex sCachesLock = MUTEX_INITIALIZER("block caches");
|
||||
static sem_id sEventSemaphore;
|
||||
static mutex sNotificationsLock;
|
||||
static mutex sNotificationsLock = MUTEX_INITIALIZER("block cache notifications");
|
||||
static thread_id sNotifierWriterThread;
|
||||
static DoublyLinkedListLink<block_cache> sMarkCache;
|
||||
// TODO: this only works if the link is the first entry of block_cache
|
||||
@ -1622,9 +1622,6 @@ block_cache_init(void)
|
||||
if (sBlockCache == NULL)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
mutex_init(&sCachesLock, "block caches");
|
||||
mutex_init(&sNotificationsLock, "block cache notifications");
|
||||
|
||||
new (&sCaches) DoublyLinkedList<block_cache>;
|
||||
// manually call constructor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user