summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-22 09:48:11 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-22 09:48:11 +0000
commit384a15cfd8612abe4fb9331dd130cce22130200b (patch)
treedc67a585baa7dca31cf0667c5d1d1c0cb177af3f /libnetfs
parent6a45922e3e3533dc834c1f48cb12f67e0c506975 (diff)
Mon Feb 22 04:30:18 1999 Thomas Bushnell, BSG <tb@mit.edu>
* io-revoke.c (netfs_S_io_revoke): Protect the revocation by blocking other rpcs.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/ChangeLog5
-rw-r--r--libnetfs/io-revoke.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/libnetfs/ChangeLog b/libnetfs/ChangeLog
index 9b8011ce..cf54bda3 100644
--- a/libnetfs/ChangeLog
+++ b/libnetfs/ChangeLog
@@ -1,3 +1,8 @@
+Mon Feb 22 04:30:18 1999 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * io-revoke.c (netfs_S_io_revoke): Protect the revocation by
+ blocking other rpcs.
+
Sat Feb 20 20:54:26 1999 Thomas Bushnell, BSG <tb@mit.edu>
* io-revoke.c (netfs_S_io_revoke): Release lock before iteration.
diff --git a/libnetfs/io-revoke.c b/libnetfs/io-revoke.c
index b32a776c..d96b4d8e 100644
--- a/libnetfs/io-revoke.c
+++ b/libnetfs/io-revoke.c
@@ -54,7 +54,9 @@ netfs_S_io_revoke (struct protid *cred)
if (err)
return err;
+ ports_inhibit_bucket_rpcs (netfs_port_bucket);
ports_bucket_iterate (netfs_port_bucket, iterator_function);
+ ports_resume_bucket_rpcs (netfs_port_bucket);
return 0;
}