aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/nullfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/include/nullfs.h')
-rw-r--r--src/kernel/include/nullfs.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/kernel/include/nullfs.h b/src/kernel/include/nullfs.h
index ba6a9c8..6ab8760 100644
--- a/src/kernel/include/nullfs.h
+++ b/src/kernel/include/nullfs.h
@@ -7,13 +7,11 @@
// - d : allow deletion of arbitrary nodes
// - m : allow move operation
-typedef struct nullfs nullfs_t;
-
void register_nullfs_driver();
-nullfs_t* as_nullfs(fs_t *fs);
-
-bool nullfs_add_node(nullfs_t *f, const char* name, fs_node_ptr data, fs_node_ops_t *ops);
-bool nullfs_add_ram_file(nullfs_t *f, const char* name, char* data, size_t init_sz, bool copy, int ok_modes);
+// These calls can be done on the fs_t corresponding to a nullfs
+// Of course they fail if the fs is not actually a nullfs.
+bool nullfs_add_node(fs_t *f, const char* name, fs_node_ptr data, fs_node_ops_t *ops);
+bool nullfs_add_ram_file(fs_t *f, const char* name, char* data, size_t init_sz, bool copy, int ok_modes);
/* vim: set ts=4 sw=4 tw=0 noet :*/