summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r--src/kernel/vfs/request.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h
index 2bd8c61..0b93491 100644
--- a/src/kernel/vfs/request.h
+++ b/src/kernel/vfs/request.h
@@ -3,7 +3,6 @@
#include <stdbool.h>
#include <stddef.h>
-/* describes something which can act as an access function */
struct VfsBackend {
/* amount of using references
* VfsMount
@@ -14,6 +13,7 @@ struct VfsBackend {
/* amount of providing references
* Proc
* 0 - orphaned, will never increase */
+ // TODO move this into .user
size_t provhcnt;
VfsReq *queue;
@@ -64,7 +64,7 @@ struct VfsReq {
};
/** Assigns the vfs_request to the caller, and dispatches the call */
-void vfsreq_create(VfsReq);
+void vfsreq_dispatchcopy(VfsReq);
void vfsreq_finish(VfsReq*, char __user *stored, long ret, int flags, Proc *handler);
static inline void vfsreq_finish_short(VfsReq *req, long ret) {
@@ -72,7 +72,7 @@ static inline void vfsreq_finish_short(VfsReq *req, long ret) {
}
/** Try to accept an enqueued request */
-void vfs_backend_tryaccept(VfsBackend *);
+void vfsback_useraccept(VfsReq *);
/** Decrements the "user" reference count. */
void vfsback_userdown(VfsBackend *);