Re: [PATCH v1] util/oslib-posix: Fix missing unlock in the error path of os_mem_prealloc()

2022-01-11 Thread Pankaj Gupta
> We're missing an unlock in case installing the signal handler failed. > Fortunately, we barely see this error in real life. > > Fixes: a960d6642d39 ("util/oslib-posix: Support concurrent os_mem_prealloc() > invocation") > Fixes: CID 1468941 > Cc: Paolo Bonzini > Cc: Michael S. Tsirkin > Cc:

[PATCH v1] util/oslib-posix: Fix missing unlock in the error path of os_mem_prealloc()

2022-01-11 Thread David Hildenbrand
We're missing an unlock in case installing the signal handler failed. Fortunately, we barely see this error in real life. Fixes: a960d6642d39 ("util/oslib-posix: Support concurrent os_mem_prealloc() invocation") Fixes: CID 1468941 Cc: Paolo Bonzini Cc: Michael S. Tsirkin Cc: Pankaj Gupta Cc: