Bart Van Assche
bd2c52d733
IB/srpt: Avoid that aborting a command triggers a kernel warning
Avoid that the following warning is triggered:
WARNING: CPU: 10 PID: 166 at ../drivers/infiniband/ulp/srpt/ib_srpt.c:2674 srpt_release_cmd+0x139/0x140 [ib_srpt]
CPU: 10 PID: 166 Comm: kworker/u24:8 Not tainted 4.9.4-1-default #1
Workqueue: tmr-fileio target_tmr_work [target_core_mod]
Call Trace:
[<ffffffffaa3c4f70>] dump_stack+0x63/0x83
[<ffffffffaa0844eb>] __warn+0xcb/0xf0
[<ffffffffaa0845dd>] warn_slowpath_null+0x1d/0x20
[<ffffffffc06ba429>] srpt_release_cmd+0x139/0x140 [ib_srpt]
[<ffffffffc06e4377>] target_release_cmd_kref+0xb7/0x120 [target_core_mod]
[<ffffffffc06e4d7f>] target_put_sess_cmd+0x2f/0x60 [target_core_mod]
[<ffffffffc06e15e0>] core_tmr_lun_reset+0x340/0x790 [target_core_mod]
[<ffffffffc06e4816>] target_tmr_work+0xe6/0x140 [target_core_mod]
[<ffffffffaa09e4d3>] process_one_work+0x1f3/0x4d0
[<ffffffffaa09e7f8>] worker_thread+0x48/0x4e0
[<ffffffffaa09e7b0>] ? process_one_work+0x4d0/0x4d0
[<ffffffffaa0a46da>] kthread+0xca/0xe0
[<ffffffffaa0a4610>] ? kthread_park+0x60/0x60
[<ffffffffaa71b775>] ret_from_fork+0x25/0x30
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2017-05-07 16:11:26 -07:00
..
2017-03-03 16:48:48 -08:00
2017-03-02 08:42:29 +01:00
2017-03-03 21:36:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 11:38:56 -08:00
2017-03-03 21:36:56 -08:00
2017-02-19 00:26:37 +01:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-03-03 10:16:38 -08:00
2017-03-03 16:15:48 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 10:16:38 -08:00
2017-03-04 10:42:53 -08:00
2017-03-02 08:42:40 +01:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-02-20 12:47:44 -08:00
2017-02-27 18:43:46 -08:00
2017-02-28 20:29:41 -08:00
2017-03-02 08:42:27 +01:00
2017-02-23 08:46:04 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-02-27 18:43:47 -08:00
2017-02-24 17:46:54 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 17:41:27 -08:00
2017-03-04 11:26:18 -08:00
2017-05-07 16:11:26 -07:00
2017-03-01 10:01:56 -08:00
2017-03-02 08:42:28 +01:00
2017-02-20 16:42:43 -08:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:37 +01:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-02-21 11:51:42 -08:00
2017-02-22 12:14:01 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 11:38:56 -08:00
2017-03-04 17:31:39 -08:00
2017-02-27 18:43:47 -08:00
2017-02-16 23:11:26 -05:00
2017-03-01 00:49:42 -08:00
2017-03-03 10:53:35 -08:00
2017-02-22 19:23:14 -08:00
2017-03-02 08:42:40 +01:00
2017-03-03 16:20:06 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 16:44:21 -08:00
2017-03-02 08:42:27 +01:00
2017-02-23 11:53:22 -08:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:27 +01:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:29 +01:00
2017-02-22 18:22:53 -08:00
2017-03-01 09:46:02 -08:00
2017-02-27 18:43:45 -08:00
2017-02-20 17:23:57 -08:00
2017-03-02 13:53:13 -08:00
2017-02-23 15:57:04 -08:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-05-05 20:24:43 -07:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:27 +01:00
2017-03-04 11:26:18 -08:00
2017-05-07 16:05:16 -07:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-03-30 01:36:50 -07:00
2017-03-02 08:42:29 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 01:45:16 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-01 06:15:10 -08:00
2017-03-02 08:42:31 +01:00
2017-02-23 11:53:22 -08:00