From 86af7f631080bc4b45846bd7f382c4cedcbec2b4 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 4 Mar 2021 14:57:31 -0500 Subject: making fs drivers ignore already open files during kernel setup and when opening init for the first time --- src/kernel/drive.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/drive.c') diff --git a/src/kernel/drive.c b/src/kernel/drive.c index 8dc0e68..bc1c67d 100644 --- a/src/kernel/drive.c +++ b/src/kernel/drive.c @@ -6,6 +6,8 @@ uint8_t n_drives; struct drive drives[256]; +bool ignore_already_open = false; + void init_drives() { n_drives = 0; } -- cgit v1.2.3