summaryrefslogtreecommitdiff
path: root/src/user/fs/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/fs/misc.c')
-rw-r--r--src/user/fs/misc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/user/fs/misc.c b/src/user/fs/misc.c
index b3e1a2c..fa1115d 100644
--- a/src/user/fs/misc.c
+++ b/src/user/fs/misc.c
@@ -104,11 +104,6 @@ void fs_dir_inject(const char *path) {
{
/* opening a directory that we're injecting into */
- if (res.flags & OPEN_CREATE) {
- _syscall_fs_respond(NULL, -1, 0);
- break;
- }
-
data = malloc(sizeof *data);
data->delegate = _syscall_open(buf, res.len, res.flags);
data->inject = path + res.len;