summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trans/fakeroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 252ba312..30386126 100644
--- a/trans/fakeroot.c
+++ b/trans/fakeroot.c
@@ -354,7 +354,7 @@ netfs_S_dir_lookup (struct protid *diruser,
assert (nn->np->nn == nn);
/* We already know about this node. */
- if (np->references == 0)
+ if (nn->np->references == 0)
{
/* But it might be in the process of being released. If so,
unlock the hash table to give the node a chance to actually