diff options
author | dzwdz | 2022-04-16 20:16:34 +0200 |
---|---|---|
committer | dzwdz | 2022-04-16 20:16:34 +0200 |
commit | e07fba53d972cfd4cf13c2e025200e40958f013d (patch) | |
tree | 0314bd120affddb234d8a458ddcae5772df76695 /src/kernel/vfs/request.h | |
parent | 749a079f9538c168c7a9adf03d919f00f09546fb (diff) |
kernel/vfs: store the queue in `vfs_request` itself
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r-- | src/kernel/vfs/request.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index c6f714d..657ae85 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -17,7 +17,7 @@ struct vfs_backend { // only used with VFS_BACK_USER struct process *handler; - struct process *queue; + struct vfs_request *queue; }; // describes an in-process vfs call @@ -41,6 +41,8 @@ struct vfs_request { struct process *caller; struct vfs_backend *backend; + + struct vfs_request *queue_next; }; /** Assigns the vfs_request to the caller, and dispatches the call */ |