summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-11-04 00:20:55 +0100
committerDoug Ledford <dledford@redhat.com>2017-11-13 21:25:16 +0100
commit8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92 (patch)
treec016887acce931d9d9fb72430e8bef15dc73f0d1 /drivers/vfio
parentIB/srpt: Introduce srpt_disconnect_ch_sync() (diff)
downloadlinux-8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92.tar.xz
linux-8b6dc529ea62bc021e0cdd5b0d4342ba470b5c92.zip
IB/srpt: Wait until channel release has finished during module unload
Introduce the helper function srpt_set_enabled(). Protect sport->enabled changes with sdev->mutex. Makes configfs writes into 'enabled' wait until all channel resources have been freed. Wait until channel release has finished during kernel module unload. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions