diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-04 14:57:31 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-04 14:57:31 -0500 |
commit | 86af7f631080bc4b45846bd7f382c4cedcbec2b4 (patch) | |
tree | d92510da292edeaacdebb2b84fc5fe61e1b9159f /src/kernel/drive.c | |
parent | 922470255bef5d09e2c12cc2b6597e629f3b2581 (diff) | |
download | portland-os-86af7f631080bc4b45846bd7f382c4cedcbec2b4.tar.gz |
making fs drivers ignore already open files during kernel setup and when opening init for the first time
Diffstat (limited to 'src/kernel/drive.c')
-rw-r--r-- | src/kernel/drive.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |