diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-01-29 09:33:52 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2014-01-29 11:42:32 -0500 |
commit | bdfd70fde389412be60f7e8aaed5732dc26fc8ac (patch) | |
tree | 41618ec5b7ad6f99456f4dc7c2ddcbeaa2d53e11 /ipc | |
parent | 3193f07bb7ae723f33ac8e8b9db317a4f68d7d18 (diff) | |
download | linux-bdfd70fde389412be60f7e8aaed5732dc26fc8ac.tar.bz2 |
NVMe: Correct uses of INIT_WORK
We need to initialise the work_struct when we initialise the rest of the
struct nvme_dev, otherwise we'll hit a lockdep warning when we remove
the device. Use PREPARE_WORK to change the function pointer instead
of INIT_WORK.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions