summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-set-trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 00e73734..70a6501a 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -63,7 +63,7 @@ diskfs_S_file_set_translator (struct protid *cred,
return error;
}
- if (control != MACH_PORT_NULL && ((active_flags & FS_TRANS_EXCL) == 0))
+ if ((control != MACH_PORT_NULL) && ((active_flags & FS_TRANS_EXCL) == 0))
{
mutex_unlock (&np->lock);
error = fsys_goaway (control, killtrans_flags);