summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-22 09:47:49 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-22 09:47:49 +0000
commit6a45922e3e3533dc834c1f48cb12f67e0c506975 (patch)
tree23d93dced2c04259141ed1fef17511de63582860 /libdiskfs
parent0c3cff2220cc2b544cadf6d9960752c836bab955 (diff)
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.
Diffstat (limited to 'libdiskfs')
-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;
}