summaryrefslogtreecommitdiffstats
path: root/scripts/cleanfile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-08-18 03:29:06 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-08-22 16:26:13 +0200
commit90b1253e4139776e8257914ae9e2292d0de2fecc (patch)
tree47ed9f35d8f58d42f6e3c8614d355b1edc86f51b /scripts/cleanfile
parentvfio: get rid of open-coding kref_put_mutex (diff)
downloadlinux-90b1253e4139776e8257914ae9e2292d0de2fecc.tar.xz
linux-90b1253e4139776e8257914ae9e2292d0de2fecc.zip
vfio: get rid of vfio_device_put()/vfio_group_get_device* races
we really need to make sure that dropping the last reference happens under the group->device_lock; otherwise a loop (under device_lock) might find vfio_device instance that is being freed right now, has already dropped the last reference and waits on device_lock to exclude the sucker from the list. Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions