Re: [PATCH 90/91] block: fail SCSI passthrough ioctls on partitiondevices

From: Paolo Bonzini
Date: Sun Feb 05 2012 - 17:45:08 EST


On 02/05/2012 11:11 PM, Willy Tarreau wrote:
Signed-off-by: Ben Hutchings<ben@xxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman<gregkh@xxxxxxxxxxxxxxxxxxx>
[wt: no scsi_cmd_blk_ioctl in 2.6.27, change callers instead. cciss is OK,
ub,virtio_blk,ide-floppy,sd need fixing, cdrom&st can be ignored ]

NACK, you aren't fixing virtio-blk to call scsi_verify_blk_ioctl, are you?

You need to backport the patch that introduced scsi_cmd_blk_ioctl, which, in fact was in the same patch series as this one.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/