summaryrefslogtreecommitdiff
path: root/kernel/fs/tmpfs.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-07-04 23:03:16 +0200
committerAnton Kling <anton@kling.gg>2024-07-05 12:46:50 +0200
commit6bf371cc35c11890ab18c32aabd11bf8a816e574 (patch)
tree00df8f66ec65fc8a59aa315ef90be91cadd64cb5 /kernel/fs/tmpfs.c
parent59893c116e9e4e5dd04c24c0ba2fd06fe1936500 (diff)
TCP: Add back support for listening on a socket
Diffstat (limited to 'kernel/fs/tmpfs.c')
-rw-r--r--kernel/fs/tmpfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/tmpfs.c b/kernel/fs/tmpfs.c
index d418e2c..2ce8ece 100644
--- a/kernel/fs/tmpfs.c
+++ b/kernel/fs/tmpfs.c
@@ -55,7 +55,7 @@ void dual_pipe(int fd[2]) {
int is_open = 1;
void *internal_object = pipe;
vfs_inode_t *inode = vfs_create_inode(
- 0 /*inode_num*/, 0 /*type*/, tmp_has_data, tmp_can_write, is_open,
+ 0 /*inode_num*/, 0 /*type*/, tmp_has_data, tmp_can_write, is_open, 0,
internal_object, 0 /*file_size*/, NULL /*open*/, NULL /*create_file*/,
tmp_read, tmp_write, tmp_close, NULL /*create_directory*/,
NULL /*get_vm_object*/, NULL /*truncate*/, NULL /*stat*/,
@@ -86,7 +86,7 @@ void pipe(int fd[2]) {
int is_open = 1;
void *internal_object = pipe;
vfs_inode_t *inode = vfs_create_inode(
- 0 /*inode_num*/, 0 /*type*/, tmp_has_data, tmp_can_write, is_open,
+ 0 /*inode_num*/, 0 /*type*/, tmp_has_data, tmp_can_write, is_open, 0,
internal_object, 0 /*file_size*/, NULL /*open*/, NULL /*create_file*/,
tmp_read, tmp_write, tmp_close, NULL /*create_directory*/,
NULL /*get_vm_object*/, NULL /*truncate*/, NULL /*stat*/,