diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-19 21:02:09 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-19 21:02:09 +0000 |
commit | dba531136c64a393dbef13eb2fc2c9b72200a2fd (patch) | |
tree | 1b971e674e99113d14f31cda68440e4838a8785f | |
parent | 4d6357246ffd3cf6aba7de0e7ff23ef3f84f3ce9 (diff) |
Include <hurd/fsys.h>
(diskfs_S_file_set_translator): Fix typo.
-rw-r--r-- | libdiskfs/file-set-trans.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c index 9f3379c8..43665dcc 100644 --- a/libdiskfs/file-set-trans.c +++ b/libdiskfs/file-set-trans.c @@ -18,6 +18,7 @@ #include "priv.h" #include "fs_S.h" #include <hurd/paths.h> +#include <hurd/fsys.h> /* Implement file_set_translator as described in <hurd/fs.defs>. */ kern_return_t @@ -75,9 +76,10 @@ diskfs_S_file_set_translator (struct protid *cred, { mach_port_t control; - control = fshelp_get_active (&np->transbox); + error = fshelp_fetch_control (&np->transbox, &control); mutex_unlock (&np->lock); - error = fsys_goaway (control, killtrans_flags); + if (!error) + error = fsys_goaway (control, killtrans_flags); if (error) return error; mutex_lock (&np->lock); |