Skip to content

Commit

Permalink
DT-2020-08-02-0: Bugfix: - Prevent crash when using JC_FILTER=1
Browse files Browse the repository at this point in the history
  • Loading branch information
freebsdfrau committed Aug 14, 2020
1 parent 7f827c8 commit 5788e0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

-------------------------------------------------------------------------------

DT-2020-08-02-0: Bugfix: Prevent crash when using JC_FILTER=1
Review: SK, AO

GA-2019-11-29-1: Bugfix: Make GA-2019-11-29-0 consider umask
Review: DT

Expand Down
5 changes: 2 additions & 3 deletions source/daemons/qmaster/sge_sched_prepare_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ sge_process_job_event_before(sge_evc_class_t *evc, object_description *object_ba
case SGE_EMA_MOD:
switch (lGetUlong(event, ET_type)) {
case sgeE_JOB_MOD:
case sgeE_JOB_MOD_SCHED_PRIORITY:
sge_delete_job_category(job);
break;

Expand Down Expand Up @@ -650,6 +651,7 @@ sge_process_job_event_after(sge_evc_class_t *evc, object_description *object_bas
case SGE_EMA_MOD:
switch (lGetUlong(event, ET_type)) {
case sgeE_JOB_MOD:
case sgeE_JOB_MOD_SCHED_PRIORITY:
/*
** after changing the job, read category reference
** for changed job
Expand Down Expand Up @@ -687,9 +689,6 @@ sge_process_job_event_after(sge_evc_class_t *evc, object_description *object_bas
}
break;

case sgeE_JOB_MOD_SCHED_PRIORITY:
break;

default:
break;
}
Expand Down

0 comments on commit 5788e0f

Please sign in to comment.