diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-09 13:35:45 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-09 13:35:45 +0100 |
commit | a9a2ea9125f89347e0aa038a136ebd43e6b251b4 (patch) | |
tree | a2ef4b04803a6ce9689d472f7ee26ed477a376a0 /src/kernel/include/vfs.h | |
parent | 8c1f280c1bc948a20e244b32d824780b08bf85c9 (diff) | |
download | kogata-a9a2ea9125f89347e0aa038a136ebd43e6b251b4.tar.gz kogata-a9a2ea9125f89347e0aa038a136ebd43e6b251b4.zip |
Add pager interface ; implement basic functionnality to replace private maps.
Diffstat (limited to 'src/kernel/include/vfs.h')
-rw-r--r-- | src/kernel/include/vfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <fs.h> // common header +#include <pager.h> + // 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; // ------------------------------------------- |