diff options
Diffstat (limited to 'libdiskfs/file-set-trans.c')
-rw-r--r-- | libdiskfs/file-set-trans.c | 6 |
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; } |