summaryrefslogtreecommitdiff
path: root/fs/tmpfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/tmpfs.c')
-rw-r--r--fs/tmpfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/tmpfs.c b/fs/tmpfs.c
index 2c5974b..575ab0c 100644
--- a/fs/tmpfs.c
+++ b/fs/tmpfs.c
@@ -47,7 +47,8 @@ void dual_pipe(int fd[2]) {
vfs_inode_t *inode = vfs_create_inode(
0 /*inode_num*/, 0 /*type*/, has_data, can_write, is_open,
internal_object, 0 /*file_size*/, NULL /*open*/, NULL /*create_file*/,
- tmp_read, tmp_write, tmp_close, NULL /*get_vm_object*/);
+ tmp_read, tmp_write, tmp_close, NULL /*create_directory*/,
+ NULL /*get_vm_object*/);
assert(inode);
vfs_fd_t *fd_ptr;
@@ -76,7 +77,7 @@ void pipe(int fd[2]) {
vfs_inode_t *inode = vfs_create_inode(
0 /*inode_num*/, 0 /*type*/, has_data, can_write, is_open,
internal_object, 0 /*file_size*/, NULL /*open*/, NULL /*create_file*/,
- tmp_read, tmp_write, tmp_close, NULL /*get_vm_object*/);
+ tmp_read, tmp_write, tmp_close, NULL/*create_directory*/, NULL /*get_vm_object*/);
assert(inode);
vfs_fd_t *fd_ptr;