diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-11 16:20:13 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-12-19 00:18:43 -0800 |
commit | 2853c2b6671509591be09213954d7249ca6ff224 (patch) | |
tree | 326da786f982bca371b4f84f6d9d820f13908299 /lib/lcm.c | |
parent | db6077fd0b7dd41dc6ff18329cec979379071f87 (diff) | |
download | linux-2853c2b6671509591be09213954d7249ca6ff224.tar.bz2 |
iser-target: Move INIT_WORK setup into isert_create_device_ib_res
This patch moves INIT_WORK setup for cq_desc->cq_[rx,tx]_work into
isert_create_device_ib_res(), instead of being done each callback
invocation in isert_cq_[rx,tx]_callback().
This also fixes a 'INFO: trying to register non-static key' warning
when cancel_work_sync() is called before INIT_WORK has setup the
struct work_struct.
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: <stable@vger.kernel.org> #3.12+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions