On Fri, Jun 25, 2010 at 06:53:21PM +0200, Markus Armbruster wrote:
> None of its callers checks for failure.  scsi_hot_add() can crash
> because of that:
> 
> (qemu) drive_add 4 if=scsi,format=host_device,file=/dev/sg1
> scsi-generic: scsi generic interface too old
> Segmentation fault (core dumped)
> 
> Fix all callers, not just scsi_hot_add().

Looks good,

Reviewed-by: Christoph Hellwig <h...@lst.de>


Reply via email to