commit | 4be9c1fc3df9c3b03c9bde8aec5e44fc73996a3f | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Sep 16 21:24:47 2015 +0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Sep 17 11:37:16 2015 -0400 |
tree | 24c9a7e3ff38245a06f6107fdc1f247e760165ba | |
parent | f0b2e563bc419df7c1b3d2f494574c25125f6aed [diff] |
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: Axel Lin <axel.lin@ingics.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>