From: Al Viro Date: Sat, 18 Aug 2012 01:32:56 +0000 (-0400) Subject: vfio: grab vfio_device reference *before* exposing the sucker via fd_install() X-Git-Tag: v3.6-rc3~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31605debdf5459cc8aacabf192a911a803a81c26;p=pandora-kernel.git vfio: grab vfio_device reference *before* exposing the sucker via fd_install() It's not critical (anymore) since another thread closing the file will block on ->device_lock before it gets to dropping the final reference, but it's definitely cleaner that way... Acked-by: Alex Williamson Signed-off-by: Al Viro --- Reading git-diff-tree failed