Bart Van Assche
2f450cc1fb
loop/usb/vhost-scsi/xen-scsiback: Fix use of __transport_register_session
...
This patch changes loopback, usb-gadget, vhost-scsi and xen-scsiback
fabric code to invoke transport_register_session() instead of the
unprotected flavour, to ensure se_tpg->session_lock is taken when
adding new session list nodes to se_tpg->tpg_sess_list.
Note that since these four fabric drivers already hold their own
internal TPG mutexes when accessing se_tpg->tpg_sess_list, and
consist of a single se_session created through configfs attribute
access, no list corruption can currently occur.
So for correctness sake, go ahead and use the se_tpg->session_lock
protected version for these four fabric drivers.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org >
2015-03-19 23:15:14 -07:00
..
2015-02-21 13:40:41 -08:00
2015-02-10 10:23:15 +00:00
2015-01-25 09:17:57 -08:00
2015-02-12 14:30:53 -08:00
2015-02-15 11:11:47 -08:00
2015-01-29 10:54:43 +02:00
2015-02-20 22:12:02 -08:00
2015-02-15 11:37:02 -08:00
2015-02-17 09:27:54 -08:00
2015-02-19 20:58:42 -06:00
2015-02-21 12:30:30 -08:00
2015-02-17 09:27:54 -08:00
2015-02-04 10:42:55 -08:00
2015-02-21 13:40:41 -08:00
2015-02-21 04:29:16 +01:00
2015-02-18 08:49:20 -08:00
2015-02-13 21:39:06 +01:00
2015-02-18 08:49:20 -08:00
2015-02-19 11:18:14 -08:00
2015-01-26 13:47:55 +09:00
2015-02-02 21:56:03 +01:00
2015-02-21 10:41:29 -08:00
2015-02-12 08:51:56 -08:00
2015-02-16 15:48:00 -08:00
2015-02-09 11:17:45 +01:00
2015-02-15 10:48:44 -08:00
2015-02-19 10:36:45 -08:00
2015-02-21 12:41:50 -08:00
2015-02-15 19:40:09 +01:00
2015-02-19 10:36:45 -08:00
2015-02-22 17:42:14 -08:00
2015-02-21 12:59:04 -08:00
2015-02-12 09:16:56 -08:00
2015-02-21 19:41:38 -08:00
2015-02-19 10:36:45 -08:00
2015-02-02 14:36:10 -08:00
2015-02-18 09:24:01 -08:00
2015-02-11 12:56:40 -08:00
2015-02-03 15:48:51 -08:00
2015-02-21 13:28:45 -08:00
2015-02-11 17:06:05 -08:00
2015-01-29 22:57:43 -06:00
2015-02-03 15:58:39 -08:00
2015-02-18 09:05:48 -08:00
2015-02-15 10:48:44 -08:00
2015-02-21 12:30:30 -08:00
2015-02-18 08:01:44 -08:00
2015-02-19 10:36:45 -08:00
2015-02-04 09:15:18 +01:00
2015-02-18 09:43:46 -08:00
2015-02-19 10:36:45 -08:00
2015-02-17 09:38:59 -08:00
2015-02-15 10:24:55 -08:00
2015-02-11 11:23:13 -08:00
2015-02-21 11:12:07 -08:00
2015-02-21 04:29:16 +01:00
2015-01-28 15:08:10 +01:00
2015-02-18 08:40:29 +01:00
2015-02-18 08:49:20 -08:00
2015-02-18 09:05:48 -08:00
2015-02-19 10:36:45 -08:00
2015-02-13 09:55:09 -08:00
2015-03-19 23:14:14 -07:00
2015-02-17 09:38:59 -08:00
2015-02-19 10:36:45 -08:00
2015-02-11 14:38:29 -08:00
2015-02-22 17:42:14 -08:00
2015-03-19 23:15:14 -07:00
2015-02-20 21:57:02 +08:00
2015-02-19 10:36:45 -08:00
2015-03-19 23:15:14 -07:00
2015-02-15 10:24:55 -08:00
2015-02-10 12:38:14 -07:00
2015-03-19 23:15:14 -07:00
2015-02-11 17:06:05 -08:00
2015-02-17 16:19:29 +10:30
2015-02-17 21:34:13 +01:00
2015-03-19 23:15:14 -07:00
2015-02-03 15:58:39 -08:00