summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/nullfs/null_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/nullfs/null_subr.c')
-rw-r--r--sys/miscfs/nullfs/null_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c
index 68b0431..fe5f988 100644
--- a/sys/miscfs/nullfs/null_subr.c
+++ b/sys/miscfs/nullfs/null_subr.c
@@ -121,7 +121,7 @@ null_node_find(mp, lowervp)
hd = NULL_NHASH(lowervp);
loop:
lockmgr(&null_hashlock, LK_EXCLUSIVE, NULL, p);
- for (a = hd->lh_first; a != 0; a = a->null_hash.le_next) {
+ LIST_FOREACH(a, hd, null_hash) {
if (a->null_lowervp == lowervp && NULLTOV(a)->v_mount == mp) {
vp = NULLTOV(a);
lockmgr(&null_hashlock, LK_RELEASE, NULL, p);
OpenPOWER on IntegriCloud