From 6a45922e3e3533dc834c1f48cb12f67e0c506975 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Mon, 22 Feb 1999 09:47:49 +0000 Subject: Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG * io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation by blocking all other rpcs. --- libdiskfs/ChangeLog | 5 +++++ libdiskfs/io-revoke.c | 2 ++ 2 files changed, 7 insertions(+) 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 + + * 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 * 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; } -- cgit v1.2.3