diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-07-17 18:08:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-31 07:27:11 +0200 |
commit | 1a547d24ec8a488a7f2f4b85f1f1b82c015b7ac8 (patch) | |
tree | a0fd0940ef43ae2168ea13658d7768c768e0fd76 /Documentation/ia64/aliasing.txt | |
parent | b993a66d8ddc1c26da0d9aa3471789cc170b28ee (diff) | |
download | linux-stable-1a547d24ec8a488a7f2f4b85f1f1b82c015b7ac8.tar.gz linux-stable-1a547d24ec8a488a7f2f4b85f1f1b82c015b7ac8.tar.bz2 linux-stable-1a547d24ec8a488a7f2f4b85f1f1b82c015b7ac8.zip |
libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
commit b70d31d054ee3a6fc1034b9d7fc0ae1e481aa018 upstream.
In preparation for fixing a deadlock between wait_for_bus_probe_idle()
and the nvdimm_bus_list_mutex arrange for __nd_ioctl() without
nvdimm_bus_list_mutex held. This also unifies the 'dimm' and 'bus' level
ioctls into a common nd_ioctl() preamble implementation.
Marked for -stable as it is a pre-requisite for a follow-on fix.
Cc: <stable@vger.kernel.org>
Fixes: bf9bccc14c05 ("libnvdimm: pmem label sets and namespace instantiation")
Cc: Vishal Verma <vishal.l.verma@intel.com>
Tested-by: Jane Chu <jane.chu@oracle.com>
Link: https://lore.kernel.org/r/156341209518.292348.7183897251740665198.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ia64/aliasing.txt')
0 files changed, 0 insertions, 0 deletions