Skip to content
Snippets Groups Projects
Commit 8bb7711e authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Prevent possible deadlock in acct_gather_filesystem/lustre

Add missing unlock before return. Coverity 44888.
parent 3fa3ad1e
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ documents those changes that are of interest to users and administrators.
-- Fix proctrack/lua plugin to prevent possible deadlock.
-- Prevent infinite loop in slurmstepd if execve fails.
-- Prevent multiple responses to REQUEST_UPDATE_JOB_STEP message.
-- Prevent possible deadlock in acct_gather_filesystem/lustre on error.
* Changes in Slurm 15.08.11
===========================
......
......@@ -310,6 +310,7 @@ static int _update_node_filesystem(void)
if (dataset_id == SLURM_ERROR) {
error("FileSystem: Failed to create the dataset "
"for Lustre");
slurm_mutex_unlock(&lustre_lock);
return SLURM_ERROR;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment