summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/pmem.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-09-16 15:25:38 +0200
committerDan Williams <dan.j.williams@intel.com>2015-09-17 17:47:50 +0200
commit4ca8b57a0af145f4e791f21dbca6ad789da9ee8b (patch)
tree22508d5613e87afd825dddfa0882214f20f879a4 /drivers/nvdimm/pmem.c
parentlibnvdimm: btt_devs: Fix locking in namespace_store (diff)
downloadlinux-4ca8b57a0af145f4e791f21dbca6ad789da9ee8b.tar.xz
linux-4ca8b57a0af145f4e791f21dbca6ad789da9ee8b.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions