diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-09 22:00:05 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-09 22:00:05 +0100 |
commit | 2a69b085432cd486f7ea73478393e76815f9f45d (patch) | |
tree | 662710db97ce48af64b558fd34d43a9e48659490 /src/kernel/include | |
parent | 6050a11052626d530d0676b633e2b30d7aa3e65e (diff) | |
download | kogata-2a69b085432cd486f7ea73478393e76815f9f45d.tar.gz kogata-2a69b085432cd486f7ea73478393e76815f9f45d.zip |
Nullfs in good shape : can read a ram file.
Diffstat (limited to 'src/kernel/include')
-rw-r--r-- | src/kernel/include/nullfs.h | 1 | ||||
-rw-r--r-- | src/kernel/include/vfs.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/include/nullfs.h b/src/kernel/include/nullfs.h index 045cc93..cfca023 100644 --- a/src/kernel/include/nullfs.h +++ b/src/kernel/include/nullfs.h @@ -12,7 +12,6 @@ typedef struct { size_t (*read)(void* f, size_t offset, size_t len, char* buf); size_t (*write)(void* f, size_t offset, size_t len, const char* buf); void (*close)(void* f); - void (*delete)(void* f); void (*dispose)(void* f); } nullfs_node_ops_t; diff --git a/src/kernel/include/vfs.h b/src/kernel/include/vfs.h index 5f7a0d8..0a6a955 100644 --- a/src/kernel/include/vfs.h +++ b/src/kernel/include/vfs.h @@ -31,6 +31,7 @@ typedef struct { } fs_handle_ops_t; typedef struct fs_handle { + struct fs *fs; int refs; fs_handle_ops_t *ops; void* data; |