summaryrefslogtreecommitdiff
path: root/src/lsm/lsm_manager.c
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2017-04-07 16:55:32 -0400
committerAlex Gorrod <alexander.gorrod@mongodb.com>2017-04-07 16:55:32 -0400
commitab281e0a4f312f99494cdb381264196278c18a2f (patch)
tree080909f5d00561bfe78e78dc0c96cd2d1aa2e1d1 /src/lsm/lsm_manager.c
parent84e6ac0e67019bba22af87b99b40bb0bc0e21157 (diff)
downloadmongo-ab281e0a4f312f99494cdb381264196278c18a2f.tar.gz
WT-3269 Miscellaneous cleanup (#3377)
I missed two copyright notices when updating from 2016 to 2017. * Cleanup, one of the temporary copyright files wasn't being removed on exit. * Don't use S2C/S2BT if there's already a local conn/btree variable. * Fix some indentation, minor whitespace. * clang warning: Value stored to 'pgs_evicted_cur' is never read * __wt_thread_group_start_one and __wt_thread_group_stop_one no longer return errors, clean up error handling and comments in __evict_tune_workers, and __evict_tune_workers itself no longer returns an error. * Give test/syscall/wt2336_base/base.run a standard copyright notice, so dist/s_copyright doesn't have to treat it as a special case.
Diffstat (limited to 'src/lsm/lsm_manager.c')
-rw-r--r--src/lsm/lsm_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lsm/lsm_manager.c b/src/lsm/lsm_manager.c
index d9726ac419b..82a6fc8f86c 100644
--- a/src/lsm/lsm_manager.c
+++ b/src/lsm/lsm_manager.c
@@ -388,7 +388,7 @@ __lsm_manager_run_server(WT_SESSION_IMPL *session)
__wt_readlock(session, &conn->dhandle_lock);
F_SET(session, WT_SESSION_LOCKED_HANDLE_LIST_READ);
dhandle_locked = true;
- TAILQ_FOREACH(lsm_tree, &S2C(session)->lsmqh, q) {
+ TAILQ_FOREACH(lsm_tree, &conn->lsmqh, q) {
if (!lsm_tree->active)
continue;
__wt_epoch(session, &now);