summaryrefslogtreecommitdiff
path: root/src/kernel/vfs/request.h
diff options
context:
space:
mode:
authordzwdz2022-05-05 18:31:56 +0200
committerdzwdz2022-05-05 18:31:56 +0200
commite7d6d031e54ef1b1c7b589648a27eea84994549f (patch)
treeedd71237b0112a7ad2e29702b7802af83c221a5c /src/kernel/vfs/request.h
parent60a5c52c407db5f88df82c0dfce425d0faab6831 (diff)
kernel/vfs: rename the vfsreq funcs, merge vfsreq_finish & vfsreq_cancel
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r--src/kernel/vfs/request.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h
index 69dad07..af1310b 100644
--- a/src/kernel/vfs/request.h
+++ b/src/kernel/vfs/request.h
@@ -54,11 +54,10 @@ struct vfs_request {
};
/** Assigns the vfs_request to the caller, and dispatches the call */
-int vfs_request_create(struct vfs_request);
+int vfsreq_create(struct vfs_request);
+int vfsreq_finish(struct vfs_request *, int ret);
+
/** Try to accept an enqueued request */
int vfs_backend_accept(struct vfs_backend *);
-int vfs_request_finish(struct vfs_request *, int ret);
-
-void vfs_request_cancel(struct vfs_request *, int ret);
void vfs_backend_refdown(struct vfs_backend *);