commit | 4ca8b57a0af145f4e791f21dbca6ad789da9ee8b | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Wed Sep 16 21:25:38 2015 +0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Sep 17 11:47:50 2015 -0400 |
tree | 22508d5613e87afd825dddfa0882214f20f879a4 | |
parent | 4be9c1fc3df9c3b03c9bde8aec5e44fc73996a3f [diff] |
libnvdimm: pfn_devs: Fix locking in namespace_store Always take device_lock() before nvdimm_bus_lock() to prevent deadlock. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>