Skip to content
Snippets Groups Projects
Commit a7cd1923 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Move vstat copy inside vstatlock

parent 766879ca
No related branches found
No related tags found
No related merge requests found
......@@ -838,9 +838,8 @@ static int update_from_vmem(int force)
}
}
release_vmem(vmem_ptr);
pthread_mutex_unlock(&vstatlock);
vs = vstat;
pthread_mutex_unlock(&vstatlock);
return(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment