diff --git a/NEWS b/NEWS index 06d0d6c2b4e455a266954c1e831e86b899c21de2..698974cdbe340b0f90a23e3a8317d397917adc02 100644 --- a/NEWS +++ b/NEWS @@ -153,6 +153,7 @@ documents those changes that are of interest to users and administrators. -- Fix getting reservations to database when database is down. -- Fix issue with sbcast not doing a correct fanout. -- Fix issue where steps weren't always getting the gres/tres involved. + -- Fixed double read lock on getting job's gres/tres. * Changes in Slurm 15.08.8 ========================== diff --git a/src/common/gres.c b/src/common/gres.c index d6131c05492e52b58b71b7f884c0f18c4031ba58..01239059fe7dbe6da65d91c0cf4486547032f840 100644 --- a/src/common/gres.c +++ b/src/common/gres.c @@ -6784,7 +6784,7 @@ extern void gres_set_job_tres_cnt(List gres_list, } if ((tres_pos = assoc_mgr_find_tres_pos( - &tres_rec, false)) != -1) + &tres_rec, true)) != -1) tres_cnt[tres_pos] = count; } list_iterator_destroy(itr);