diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2019-01-02 16:25:35 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-01-11 06:02:52 +0000 |
commit | 1e28c54c5ec8d84ec8a22493161314010992918e (patch) | |
tree | 9c94618a500e7c841b4f69c4c559834cc61a9c41 /extras/group-nl-cache | |
parent | fa7ae128706062afefcb0a3117527b8bef21f396 (diff) |
core: brick process is crashed at the time of spawn thread
Problem: brick is getting crashed at the time of calling
pthread_detach after just call gf_thread_create.If
sufficient resources are not available on the system
pthread_create returns EAGAIN (non-negative) but the
caller function expects negative error code in case of failure
Solution: Change the condition in caller function to avoid the crash
Change-Id: Ifeaa49f809957eb6c33aa9792f5af1b55566756d
fixes: bz#1662906
Diffstat (limited to 'extras/group-nl-cache')
0 files changed, 0 insertions, 0 deletions