mesa: Fix double-lock of Shared->FrameBuffers and usage of wrong mutex
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Fri, 22 May 2020 10:36:31 +0000 (13:36 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 22 May 2020 14:50:21 +0000 (14:50 +0000)
commit40255831230a6dba45b09ab98d5b626a5bdb18ef
tree669d5e87ae4f2c4834b19ae6947a712365627199
parent0d2ec80dea8adf3089f187f8c0e9bdbcb135b4f2
mesa: Fix double-lock of Shared->FrameBuffers and usage of wrong mutex

Fixes: 7534c536ca0f4b2b123200f421460094034f37a3
Fixes: 8cfb3e4ee57070ff45e7534a986a20c5fd649dc7
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3024
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5160>
src/mesa/main/fbobject.c