staging: gasket: hold mutex on gasket driver unregistration
authorTodd Poynor <toddpoynor@google.com>
Tue, 17 Jul 2018 20:56:46 +0000 (13:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2018 09:39:47 +0000 (11:39 +0200)
commit722c902aacfefcda4aa0517be82af5cfd2ec4bb0
treef14c04cb89249102ace1273c5533e343de3bc838
parentba6585847ebc432e0c808c2bd194e620017b5901
staging: gasket: hold mutex on gasket driver unregistration

Take the global mutex on driver unregistration updates for proper
ordering of updates and consistent access procedures.

Signed-off-by: Zhongze Hu <frankhu@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c