summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/ChangeLog5
-rw-r--r--libdiskfs/io-revoke.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog
index f59c2e55..e1c47276 100644
--- a/libdiskfs/ChangeLog
+++ b/libdiskfs/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation
+ by blocking all other rpcs.
+
Sat Feb 20 20:46:21 1999 Thomas Bushnell, BSG <tb@mit.edu>
* io-revoke.c (diskfs_S_io_revoke): Release NP->lock before
diff --git a/libdiskfs/io-revoke.c b/libdiskfs/io-revoke.c
index a21f0ffa..0f15eaad 100644
--- a/libdiskfs/io-revoke.c
+++ b/libdiskfs/io-revoke.c
@@ -52,7 +52,9 @@ diskfs_S_io_revoke (struct protid *cred)
if (err)
return err;
+ ports_inhibit_bucket_rpcs (diskfs_port_bucket);
ports_bucket_iterate (diskfs_port_bucket, iterator_function);
+ ports_resume_bucket_rpcs (diskfs_port_bucket);
return 0;
}