[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 01/02: trans/fakeroot: fix netfs_S_dir_lookup
From: |
Samuel Thibault |
Subject: |
[hurd] 01/02: trans/fakeroot: fix netfs_S_dir_lookup |
Date: |
Sat, 15 Feb 2014 08:47:38 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit eafc1c8d2223693e96c9619897f92774735fcb49
Author: Richard Braun <address@hidden>
Date: Thu Feb 6 02:08:31 2014 +0100
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(-)
diff --git a/trans/fakeroot.c b/trans/fakeroot.c
index 252ba31..3038612 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
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git