vfs: make setattr take in which attributes to change

This commit is contained in:
Matheus
2024-05-27 23:05:57 -03:00
parent 04d8431b32
commit 0030a0b21b
11 changed files with 93 additions and 56 deletions
-3
View File
@@ -64,9 +64,6 @@ static void vioblk_irq(isr_t *isr, context_t *context) {
// driver and device are physical addresses
static void vioblk_enqueue(vioblkdev_t *blkdev, void *driver, size_t driverlen, void *device, size_t devicelen) {
event_t event;
EVENT_INIT(&event);
bool intstatus = interrupt_set(false);
semaphore_wait(&blkdev->queuesem, false);