summaryrefslogtreecommitdiff
path: root/term/users.c
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 /term/users.c
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.
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c2
1 files changed, 2 insertions, 0 deletions
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;
}