feat(fatfs): remember by which core an FD was opened, allow to close all FDs by a certain core
All threads resolved!
Compare changes
Files
3+ 26
− 3
@@ -22,6 +22,8 @@
@@ -44,6 +46,7 @@
@@ -56,6 +59,7 @@ struct EpicFileSystem {
@@ -64,7 +68,7 @@ static const int s_libffToErrno[20];
@@ -159,7 +163,7 @@ void fatfs_detach()
@@ -177,6 +181,14 @@ void fatfs_detach()
@@ -216,6 +228,11 @@ int efs_lock_global(EpicFileSystem **fs)
@@ -292,6 +309,7 @@ static int efs_obj_init(
@@ -300,6 +318,7 @@ static void efs_obj_deinit(EpicFileSystem *fs, struct FatObject *obj)
@@ -392,9 +411,13 @@ int efs_close(EpicFileSystem *fs, int fd)