summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-20 19:59:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-20 19:59:59 +0000
commitfe5eaf8c701d69e1dd667bfefdde480528a210da (patch)
treec6a52115966824f3f92e069ebc41d1bcf4394b40 /libpager
parent59eb781d2960d68869ede79913d9d57df980efc1 (diff)
Formerly object-terminate.c.~8~
Diffstat (limited to 'libpager')
-rw-r--r--libpager/object-terminate.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpager/object-terminate.c b/libpager/object-terminate.c
index fe355429..917d9a79 100644
--- a/libpager/object-terminate.c
+++ b/libpager/object-terminate.c
@@ -68,6 +68,7 @@ _pager_free_structure (struct pager *p)
{
int wakeup;
struct lock_request *lr;
+ struct attribute_request *ar;
wakeup = 0;
for (lr = p->lock_requests; lr; lr = lr->next)
@@ -76,6 +77,12 @@ _pager_free_structure (struct pager *p)
if (!lr->pending_writes)
wakeup = 1;
}
+ for (ar = p->attribute_requests; ar; ar = ar->next)
+ {
+ ar->attrs_pending = 0;
+ wakeup = 1;
+ }
+
if (wakeup)
condition_broadcast (&p->wakeup);