]> 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)
commit8f3f10d897f8ec136042db574aa714b3376172e6
tree149b7d34518312ef46c6d75fce96bdcfa6628a21
parent9e0f5f315f6dd7145a21da252266d626aa6157f8
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