diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-02-22 09:47:49 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-02-22 09:47:49 +0000 |
commit | 6a45922e3e3533dc834c1f48cb12f67e0c506975 (patch) | |
tree | 23d93dced2c04259141ed1fef17511de63582860 /libdiskfs/io-revoke.c | |
parent | 0c3cff2220cc2b544cadf6d9960752c836bab955 (diff) | |
download | hurd-6a45922e3e3533dc834c1f48cb12f67e0c506975.tar.gz hurd-6a45922e3e3533dc834c1f48cb12f67e0c506975.tar.bz2 hurd-6a45922e3e3533dc834c1f48cb12f67e0c506975.zip |
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/io-revoke.c')
-rw-r--r-- | libdiskfs/io-revoke.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |