VFS can now reschedule the calling process
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m48s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m48s
This commit is contained in:
@@ -168,7 +168,7 @@ struct proc* proc_from_file (struct proc* proc1, const char* volume, const char*
|
||||
}
|
||||
}
|
||||
|
||||
if ((ret = vfs_describe (proc1, volume, path, &desc)) < 0) {
|
||||
if ((ret = vfs_describe (proc1, rctx, volume, path, &desc)) < 0) {
|
||||
vfs_volume_close (proc1, volume, rctx);
|
||||
return NULL;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ struct proc* proc_from_file (struct proc* proc1, const char* volume, const char*
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ((ret = vfs_read_file (proc1, volume, path, temp_buffer, 0, desc.size)) < 0) {
|
||||
if ((ret = vfs_read_file (proc1, rctx, volume, path, temp_buffer, 0, desc.size)) < 0) {
|
||||
free (temp_buffer);
|
||||
vfs_volume_close (proc1, volume, rctx);
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user