]> git.baikalelectronics.ru Git - kernel.git/commit
tcm_vhost: Refactor the lock nesting rule
authorAsias He <asias@redhat.com>
Thu, 25 Apr 2013 07:35:20 +0000 (15:35 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:05:52 +0000 (01:05 -0700)
commita65969cd387b46adb91324b03339482dc43b47f0
tree149b7d34518312ef46c6d75fce96bdcfa6628a21
parentcb1bc15615e92fc4668b095eec75de43d263e5c3
tcm_vhost: Refactor the lock nesting rule

We want to use tcm_vhost_mutex to make sure hotplug/hotunplug will not
happen when set_endpoint/clear_endpoint is in process.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c