aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c2
-rw-r--r--libdiskfs/file-set-trans.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index a0c368b1..eafeefc3 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -315,7 +315,7 @@ diskfs_S_dir_lookup (struct protid *dircred,
err = fshelp_set_active_translator (&newpi->pi,
complete_path,
- np->transbox.active);
+ &np->transbox);
if (complete_path != translator_path)
free(complete_path);
if (err)
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 6a73e23c..de52ba49 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -222,7 +222,7 @@ diskfs_S_file_set_translator (struct protid *cred,
pthread_mutex_unlock (&np->lock);
if (! err && cred->po->path && active_flags & FS_TRANS_SET)
- err = fshelp_set_active_translator (&cred->pi, cred->po->path, active);
+ err = fshelp_set_active_translator (&cred->pi, cred->po->path, &np->transbox);
return err;
}