summaryrefslogtreecommitdiff
path: root/libtrivfs/protid-clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/protid-clean.c')
-rw-r--r--libtrivfs/protid-clean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/protid-clean.c b/libtrivfs/protid-clean.c
index adc5e981..ff6cc167 100644
--- a/libtrivfs/protid-clean.c
+++ b/libtrivfs/protid-clean.c
@@ -36,7 +36,7 @@ trivfs_clean_protid (void *arg)
if (refcount_deref (&cred->po->refcnt) == 0)
{
/* Reacquire a reference while we call the hook. */
- refcount_ref (&cred->po->refcnt);
+ refcount_unsafe_ref (&cred->po->refcnt);
(*trivfs_peropen_destroy_hook) (cred->po);
if (refcount_deref (&cred->po->refcnt) == 0)
{