abc: use pushlocks directly

This commit is contained in:
Matheus
2026-07-17 15:59:15 -03:00
parent fd443a211d
commit 7ab18babf4
2 changed files with 25 additions and 25 deletions
+3 -3
View File
@@ -4,7 +4,7 @@
#include <list.h>
#include <stdbool.h>
#include <trie.h>
#include <mutex.h>
#include <pushlock.h>
#include <kernel/vfs.h>
#include <kernel/thread.h>
#include <kernel/event.h>
@@ -20,11 +20,11 @@ typedef struct {
} abc_block_t;
typedef struct {
mutex_t mutex; // TODO: use pushlock properly here once pushlock rewrite is known good
pushlock_t lock;
trie_t blocks;
size_t block_size;
mutex_t dirty_list_mutex;
pushlock_t dirty_list_lock;
list_t dirty_list;
bool syncing;
eventheader_t dirty_list_sync_event;