1
0
Fork 0
alistair23-linux/virt/kvm
Al Viro 66c0b394f0 KVM: kill file->f_count abuse in kvm
Use kvm own refcounting instead of playing with ->filp->f_count.
That will allow to get rid of a lot of crap in anon_inode_getfd() and
kill a race in kvm_dev_ioctl_create_vm() (file might have been closed
immediately by another thread, so ->filp might point to already freed
struct file when we get around to setting it).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-04-27 18:21:46 +03:00
..
ioapic.c KVM: Route irq 0 to vcpu 0 exclusively 2008-03-04 15:19:48 +02:00
ioapic.h KVM: Move ioapic code to common directory. 2008-01-30 18:01:19 +02:00
iodev.h KVM: Move drivers/kvm/* to virt/kvm/ 2008-01-30 18:01:18 +02:00
kvm_main.c KVM: kill file->f_count abuse in kvm 2008-04-27 18:21:46 +03:00
kvm_trace.c KVM: Rename debugfs_dir to kvm_debugfs_dir 2008-04-27 18:21:36 +03:00