summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/file-set-trans.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 44c7eba7..6858ee27 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -148,10 +148,8 @@ diskfs_S_file_set_translator (struct protid *cred,
}
if (existing != MACH_PORT_NULL)
- {
- np->translator.control = existing;
- np->translator.starting = 0;
- }
+ fshelp_set_control (&np->translator, existing);
+
mutex_unlock (&np->lock);
return error;
}