From 1a32cfeaf36c7d851ccbe2ec5244bf45f17092d8 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 8 Apr 2015 14:38:49 -0400 Subject: Fix places where we were using the wrong link for traversing hash buckets. --- src/os_win/os_open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os_win/os_open.c') diff --git a/src/os_win/os_open.c b/src/os_win/os_open.c index cfc8e319da0..74b74604836 100644 --- a/src/os_win/os_open.c +++ b/src/os_win/os_open.c @@ -39,7 +39,7 @@ __wt_open(WT_SESSION_IMPL *session, /* Increment the reference count if we already have the file open. */ matched = 0; __wt_spin_lock(session, &conn->fh_lock); - SLIST_FOREACH(tfh, &conn->fhhash[bucket], l) + SLIST_FOREACH(tfh, &conn->fhhash[bucket], hashl) if (strcmp(name, tfh->name) == 0) { ++tfh->ref; *fhp = tfh; @@ -160,7 +160,7 @@ setupfh: */ matched = 0; __wt_spin_lock(session, &conn->fh_lock); - SLIST_FOREACH(tfh, &conn->fhhash[bucket], l) + SLIST_FOREACH(tfh, &conn->fhhash[bucket], hashl) if (strcmp(name, tfh->name) == 0) { ++tfh->ref; *fhp = tfh; -- cgit v1.2.1