summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-05-03 14:52:18 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-05-03 14:52:18 +0000
commitc6c4ada173ca713918437c3f4b213910870e954b (patch)
treec1553665ffb1a4d828e4720e5b806209e3e8f6ac
parent3cf8abb2c73bc34e7f1381a4a87a073548a5ff90 (diff)
2002-05-03 Marcus Brinkmann <marcus@gnu.org>
* fakeroot.c (netfs_node_norefs): Unlock node after not dropping it at all.
-rw-r--r--trans/ChangeLog5
-rw-r--r--trans/fakeroot.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/trans/ChangeLog b/trans/ChangeLog
index b9969fd6..e969ebca 100644
--- a/trans/ChangeLog
+++ b/trans/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-03 Marcus Brinkmann <marcus@gnu.org>
+
+ * fakeroot.c (netfs_node_norefs): Unlock node after not dropping
+ it at all.
+
2002-05-03 Roland McGrath <roland@frob.com>
* Makefile (fakeroot): New target.
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 3683b122..0eb514a9 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -120,6 +120,7 @@ netfs_node_norefs (struct node *np)
np->nn->faked |= FAKE_REFERENCE;
++np->references;
}
+ mutex_unlock (&np->lock);
return;
}