From 2b3122b006bd349f43a4316bf6a273ca10051f94 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Wed, 30 Nov 2016 12:21:10 -0700 Subject: [PATCH] Change variable name for better clarity No change in logic --- src/plugins/burst_buffer/cray/burst_buffer_cray.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/burst_buffer/cray/burst_buffer_cray.c b/src/plugins/burst_buffer/cray/burst_buffer_cray.c index cd9d0f291e3..77fab0a945f 100644 --- a/src/plugins/burst_buffer/cray/burst_buffer_cray.c +++ b/src/plugins/burst_buffer/cray/burst_buffer_cray.c @@ -693,20 +693,19 @@ static bb_job_t *_get_bb_job(struct job_record *job_ptr) * update that user's limit */ static void _apply_limits(void) { - bool update_pool_unfree = false; + bool emulate_cray = false; bb_alloc_t *bb_alloc; int i; if (bb_state.bb_config.flags & BB_FLAG_EMULATE_CRAY) - update_pool_unfree = true; + emulate_cray = true; for (i = 0; i < BB_HASH_SIZE; i++) { bb_alloc = bb_state.bb_ahash[i]; while (bb_alloc) { _set_assoc_mgr_ptrs(bb_alloc); bb_limit_add(bb_alloc->user_id, bb_alloc->size, - bb_alloc->pool, &bb_state, - update_pool_unfree); + bb_alloc->pool, &bb_state, emulate_cray); bb_alloc = bb_alloc->next; } } -- GitLab