diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-04-18 18:56:31 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-18 19:55:37 +0200 |
commit | fbabd829fe76a72a6444f64361cf8b2a9848639d (patch) | |
tree | d2fe120c94ec375c6cf44e822b2435ffa39819f0 /drivers/nvdimm | |
parent | tools/testing/nvdimm: fix nfit_test shutdown crash (diff) | |
download | linux-fbabd829fe76a72a6444f64361cf8b2a9848639d.tar.xz linux-fbabd829fe76a72a6444f64361cf8b2a9848639d.zip |
acpi, nfit: fix module unload vs workqueue shutdown race
The workqueue may still be running when the devres callbacks start
firing to deallocate an acpi_nfit_desc instance. Stop and flush the
workqueue before letting any other devres de-allocations proceed.
Reported-by: Linda Knippers <linda.knippers@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions