diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 16:58:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-24 16:58:33 +0100 |
commit | 150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8 (patch) | |
tree | e92a633a780104617483fd9fd379238299affabd /src/kernel/include | |
parent | fa8a840c6dfc9eb737ef5d777f066b05eb8d9544 (diff) | |
download | kogata-150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8.tar.gz kogata-150dd5f860a5f22a8c3bcc1bf3a1f2e36dcf6fd8.zip |
Change VFS a bit : the root directory of a fs is now a pointer. Fix tests.
Diffstat (limited to 'src/kernel/include')
-rw-r--r-- | src/kernel/include/vfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; // ------------------------------------------- |