linux_old1/drivers/vhost
Michael S. Tsirkin 150b9e51ae vhost: fix error handling in RESET_OWNER ioctl
RESET_OWNER ioctl would leave the fd in a bad state if
memory allocation failed: device is stopped
but owner is not reset. Make state changes
after allocating memory, such that a failed
ioctl has no effect.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-05-01 10:02:54 +03:00
..
Kconfig drivers/vhost: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Kconfig.tcm drivers/vhost: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
net.c vhost: fix error handling in RESET_OWNER ioctl 2013-05-01 10:02:54 +03:00
tcm_vhost.c tcm_vhost: remove virtio-net.h dependency 2013-05-01 10:02:53 +03:00
tcm_vhost.h tcm_vhost: Wait for pending requests in vhost_scsi_flush() 2013-05-01 10:02:51 +03:00
test.c vhost: fix error handling in RESET_OWNER ioctl 2013-05-01 10:02:54 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: fix error handling in RESET_OWNER ioctl 2013-05-01 10:02:54 +03:00
vhost.h vhost: fix error handling in RESET_OWNER ioctl 2013-05-01 10:02:54 +03:00