diff options
author | dzwdz | 2024-07-07 17:42:18 +0200 |
---|---|---|
committer | dzwdz | 2024-07-07 17:42:18 +0200 |
commit | 8138ba97608ff0cd4e443994390f277eca3d7b28 (patch) | |
tree | 59b6066071f50aa0e7dc209cc5f7ef3433db1987 /src/kernel/vfs/request.h | |
parent | a4975c459dec3a37e1634ad9b25c05f4caa4f1b0 (diff) |
kernel/vfs: split vfs_backend_refdown into two functions
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 *); |