From a9a2ea9125f89347e0aa038a136ebd43e6b251b4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 9 Mar 2015 13:35:45 +0100 Subject: Add pager interface ; implement basic functionnality to replace private maps. --- src/kernel/include/vfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/kernel/include/vfs.h') diff --git a/src/kernel/include/vfs.h b/src/kernel/include/vfs.h index cc6d11c..cdd9e8d 100644 --- a/src/kernel/include/vfs.h +++ b/src/kernel/include/vfs.h @@ -8,6 +8,8 @@ #include // common header +#include + // How to use : // - When using a filesystem : never call the operations in fs_*_ops_t directly, use // the functions defined bellow in section "public functions"; @@ -108,6 +110,8 @@ typedef struct fs_node { // These fields are filled by the FS's specific walk() code fs_node_ops_t *ops; fs_node_ptr data; + + pager_t *pager; } fs_node_t; // ------------------------------------------- -- cgit v1.2.3