summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs/umap_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
-rw-r--r--sys/fs/umapfs/umap_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c
index a04b132..9b9806e 100644
--- a/sys/fs/umapfs/umap_subr.c
+++ b/sys/fs/umapfs/umap_subr.c
@@ -157,7 +157,7 @@ umap_node_find(mp, targetvp)
*/
hd = UMAP_NHASH(targetvp);
loop:
- for (a = hd->lh_first; a != 0; a = a->umap_hash.le_next) {
+ LIST_FOREACH(a, hd, umap_hash) {
if (a->umap_lowervp == targetvp &&
a->umap_vnode->v_mount == mp) {
vp = UMAPTOV(a);
OpenPOWER on IntegriCloud