diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-13 15:50:09 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-13 15:50:09 +0100 |
commit | 1df9fff83a0025421e50b2fcecd0f69997178fe0 (patch) | |
tree | c79b4280b796848a4eb076f8a4b59573679eb835 /src/kernel/include/vfs.h | |
parent | be645920ae72ae7d407e8d976506f617a7d40355 (diff) | |
download | kogata-1df9fff83a0025421e50b2fcecd0f69997178fe0.tar.gz kogata-1df9fff83a0025421e50b2fcecd0f69997178fe0.zip |
Complete nullfs : create, delete, trunc, read, write
Diffstat (limited to 'src/kernel/include/vfs.h')
-rw-r--r-- | src/kernel/include/vfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/include/vfs.h b/src/kernel/include/vfs.h index 19f43db..af94b2a 100644 --- a/src/kernel/include/vfs.h +++ b/src/kernel/include/vfs.h @@ -61,6 +61,7 @@ typedef struct fs_handle { // is currently in use. (different from posix semantics !) // - the root node of a filesystem is created when the filesystem is created // - dispose() is not called on the root node when a filesystem is shutdown +// - delete() is not expected to delete recursively : it should fail on a non-empty directory typedef struct { bool (*open)(fs_node_ptr n, int mode, fs_handle_t *s); // open current node |