diff options
author | Richard Braun <rbraun@sceen.net> | 2014-02-06 02:08:31 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-02-06 02:08:31 +0100 |
commit | eafc1c8d2223693e96c9619897f92774735fcb49 (patch) | |
tree | 5f8eb1016faa74a169d9f5f934f541fa6ebfee1b /trans | |
parent | 4552df253251a92b0355bc6cc58513aa5feb8b30 (diff) |
trans/fakeroot: fix netfs_S_dir_lookup
* trans/fakeroot.c (netfs_S_dir_lookup): Fix node dereference.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/fakeroot.c | 2 |
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 |