summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-22 09:48:28 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-22 09:48:28 +0000
commit67414a6ca9c6cb9dfa61ac1dff9cbcfd9e7b4d89 (patch)
tree0928b82845070b36728930bd5302c83e0dab8212
parent384a15cfd8612abe4fb9331dd130cce22130200b (diff)
Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>
* users.c (trivfs_S_io_revoke): Protect the revocation by blocking all other rpcs.
-rw-r--r--term/ChangeLog5
-rw-r--r--term/users.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/term/ChangeLog b/term/ChangeLog
index a6377a7d..fc333779 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * users.c (trivfs_S_io_revoke): Protect the revocation by blocking
+ all other rpcs.
+
Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG <tb@mit.edu>
* users.c (trivfs_S_io_revoke): Release global_lock before
diff --git a/term/users.c b/term/users.c
index 8849c4dc..ea6e22db 100644
--- a/term/users.c
+++ b/term/users.c
@@ -854,7 +854,9 @@ trivfs_S_io_revoke (struct trivfs_protid *cred,
mutex_unlock (&global_lock);
+ ports_inhibit_bucket_rpcs (term_bucket);
ports_bucket_iterate (term_bucket, iterator_function);
+ ports_resume_bucket_rpcs (term_bucket);
return 0;
}