From: Alex Williamson Date: Mon, 29 Apr 2013 14:41:36 +0000 (-0600) Subject: vfio: Use down_reads to protect iommu disconnects X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~64^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b43c082338b857c27d2f87c886eb78812ccd236;p=pandora-kernel.git vfio: Use down_reads to protect iommu disconnects If a group or device is released or a container is unset from a group it can race against file ops on the container. Protect these with down_reads to allow concurrent users. Signed-off-by: Alex Williamson Reported-by: Michael S. Tsirkin --- Reading git-diff-tree failed