aboutsummaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-21 02:36:17 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-21 02:36:17 +0000
commit916fffdbeacfda1fff38844d1cf19dcc359b0245 (patch)
tree5bb7ebf95bbe60f6208dcb84694febc433d5caca /term/users.c
parent33e5b10207ee219f115db0e1f5eb0b4799bc859e (diff)
downloadhurd-916fffdbeacfda1fff38844d1cf19dcc359b0245.tar.gz
hurd-916fffdbeacfda1fff38844d1cf19dcc359b0245.tar.bz2
hurd-916fffdbeacfda1fff38844d1cf19dcc359b0245.zip
Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>
* users.c (trivfs_S_io_revoke): Release global_lock before beginning the iteration. * users.c (trivfs_S_io_revoke): Add reply, reply_type args.
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index 31780aed..8849c4dc 100644
--- a/term/users.c
+++ b/term/users.c
@@ -816,7 +816,9 @@ trivfs_S_io_readable (struct trivfs_protid *cred,
}
error_t
-trivfs_S_io_revoke (struct trivfs_protid *cred)
+trivfs_S_io_revoke (struct trivfs_protid *cred,
+ mach_port_t reply,
+ mach_msg_type_name_t replytype)
{
struct stat st;
@@ -850,9 +852,10 @@ trivfs_S_io_revoke (struct trivfs_protid *cred)
}
}
+ mutex_unlock (&global_lock);
+
ports_bucket_iterate (term_bucket, iterator_function);
- mutex_unlock (&global_lock);
return 0;
}