diff options
Diffstat (limited to 'src/kernel/vfs/request.h')
-rw-r--r-- | src/kernel/vfs/request.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 182202c..2bd8c61 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -74,6 +74,8 @@ static inline void vfsreq_finish_short(VfsReq *req, long ret) { /** Try to accept an enqueued request */ void vfs_backend_tryaccept(VfsBackend *); -// TODO the bool arg is confusing. maybe this should just be a function -// that verified the refcount and potentially frees the backend -void vfs_backend_refdown(VfsBackend *, bool use); +/** Decrements the "user" reference count. */ +void vfsback_userdown(VfsBackend *); + +/** Decrements the "provider" reference count. */ +void vfsback_provdown(VfsBackend *); |