From 67414a6ca9c6cb9dfa61ac1dff9cbcfd9e7b4d89 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 22 Feb 1999 09:48:28 +0000 Subject: Mon Feb 22 04:34:55 1999 Thomas Bushnell, BSG * users.c (trivfs_S_io_revoke): Protect the revocation by blocking all other rpcs. --- term/ChangeLog | 5 +++++ term/users.c | 2 ++ 2 files changed, 7 insertions(+) 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 + + * users.c (trivfs_S_io_revoke): Protect the revocation by blocking + all other rpcs. + Sat Feb 20 04:59:15 1999 Thomas Bushnell, BSG * 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; } -- cgit v1.2.3