From 150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 24 Feb 2015 16:58:33 +0100 Subject: Change VFS a bit : the root directory of a fs is now a pointer. Fix tests. --- src/kernel/include/vfs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/kernel/include/vfs.h') diff --git a/src/kernel/include/vfs.h b/src/kernel/include/vfs.h index 82b02f4..0890663 100644 --- a/src/kernel/include/vfs.h +++ b/src/kernel/include/vfs.h @@ -128,7 +128,7 @@ typedef struct fs { fs_ops_t *ops; fs_ptr data; // Filled by both according to what is specified for fs_node_t - fs_node_t root; + fs_node_t *root; } fs_t; // ------------------------------------------- @@ -136,7 +136,6 @@ typedef struct fs { typedef struct { bool (*make)(fs_handle_t *source, const char* opts, fs_t *d); - bool (*detect)(fs_handle_t *source); } fs_driver_ops_t; // ------------------------------------------- -- cgit v1.2.3