diff options
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r-- | src/kernel/vfs/request.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 52af544..8f5cf92 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -45,6 +45,8 @@ struct vfs_request { struct vfs_backend *backend; }; -_Noreturn void vfs_request_create(struct vfs_request); +/** Assigns the vfs_request to the caller, and calls the backend. Might not + * return - can switch processes! */ +int vfs_request_create(struct vfs_request); _Noreturn void vfs_request_pass2handler(struct vfs_request *); -_Noreturn void vfs_request_finish(struct vfs_request *, int ret); +int vfs_request_finish(struct vfs_request *, int ret); |