From 436418e575b68fd7e85f7fdaf039e03874ec1cb9 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2015 15:43:44 +0100 Subject: Nullfs now uses pager. --- src/kernel/include/nullfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/include/nullfs.h') diff --git a/src/kernel/include/nullfs.h b/src/kernel/include/nullfs.h index 6ab8760..1eb660d 100644 --- a/src/kernel/include/nullfs.h +++ b/src/kernel/include/nullfs.h @@ -11,7 +11,7 @@ void register_nullfs_driver(); // 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); +bool nullfs_add_node(fs_t *f, const char* name, fs_node_ptr data, fs_node_ops_t *ops, pager_t *pager); +bool nullfs_add_ram_file(fs_t *f, const char* name, const char* data, size_t init_sz, int ok_modes); /* vim: set ts=4 sw=4 tw=0 noet :*/ -- cgit v1.2.3