Skip to content
Commit 4be9c1fc authored by Axel Lin's avatar Axel Lin Committed by Dan Williams
Browse files

libnvdimm: btt_devs: Fix locking in namespace_store



Always take device_lock() before nvdimm_bus_lock() to prevent deadlock.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent f0b2e563
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment