diff options
author | dzwdz | 2022-04-16 20:04:52 +0200 |
---|---|---|
committer | dzwdz | 2022-04-16 20:04:52 +0200 |
commit | 749a079f9538c168c7a9adf03d919f00f09546fb (patch) | |
tree | ed85b3267cd921ecb02db76e61f3cb2834cd9e8d /src/kernel/vfs/request.h | |
parent | e55ace0f517ede6f3635341c8adadc7b90aa75c5 (diff) |
kernel/vfs: refactor `vfs_request_accept` into `vfs_backend_accept`
handling the backend queue makes more sense here than in the syscall
implementation. it's also just overall cleaner
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r-- | src/kernel/vfs/request.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 1e3ef60..c6f714d 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -45,7 +45,8 @@ struct vfs_request { /** Assigns the vfs_request to the caller, and dispatches the call */ int vfs_request_create(struct vfs_request); -int vfs_request_accept(struct vfs_request *); +/** 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); |