From eafc1c8d2223693e96c9619897f92774735fcb49 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 6 Feb 2014 02:08:31 +0100 Subject: trans/fakeroot: fix netfs_S_dir_lookup * trans/fakeroot.c (netfs_S_dir_lookup): Fix node dereference. --- trans/fakeroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trans') 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 -- cgit v1.2.3