summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 21:48:02 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 21:48:02 +0000
commitdc5ef9fe1db299ccce946501b06b0dc4894cb354 (patch)
tree2358f0cfae30e209b23061d8f289f77181677f91 /libdiskfs
parent5ff9878a747b649051175ffda0d2423b009f4329 (diff)
Formerly file-get-transcntl.c.~4~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-get-transcntl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/file-get-transcntl.c b/libdiskfs/file-get-transcntl.c
index 7600dd9d..187cbc6f 100644
--- a/libdiskfs/file-get-transcntl.c
+++ b/libdiskfs/file-get-transcntl.c
@@ -31,13 +31,13 @@ diskfs_S_file_get_translator_cntl (struct protid *cred,
np = cred->po->np;
- if (!np->translator)
+ if (np->translator.control == MACH_PORT_NULL)
error = ENXIO;
else
- error = isowner (np, cred);
+ error = diskfs_isowner (np, cred);
if (!error)
- *ctl = np->translator;
+ *ctl = np->translator.control;
diskfs_nput (np);
return error;