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

2012-02-07 Thread Paolo Bonzini
On 02/05/2012 11:53 PM, Willy Tarreau wrote: Thanks for this report, I missed this patch. I thought the reason for the lack of scsi_cmd_blk_ioctl() it was one of the differences between 2.6.27 and 2.6.32, so I have adapted the callers I identified to perform the same test as what's in

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

2012-02-07 Thread Willy Tarreau
Hi Paolo, On Tue, Feb 07, 2012 at 11:03:03AM +0100, Paolo Bonzini wrote: On 02/05/2012 11:53 PM, Willy Tarreau wrote: Thanks for this report, I missed this patch. I thought the reason for the lack of scsi_cmd_blk_ioctl() it was one of the differences between 2.6.27 and 2.6.32, so I have

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

2012-02-05 Thread Paolo Bonzini
On 02/05/2012 11:11 PM, Willy Tarreau wrote: Signed-off-by: Ben Hutchingsb...@decadent.org.uk Signed-off-by: Greg Kroah-Hartmangre...@linuxfoundation.org [wt: no scsi_cmd_blk_ioctl in 2.6.27, change callers instead. cciss is OK, ub,virtio_blk,ide-floppy,sd need fixing, cdromst can be ignored ]

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

2012-02-05 Thread Willy Tarreau
Hi Paolo, On Sun, Feb 05, 2012 at 11:44:57PM +0100, Paolo Bonzini wrote: On 02/05/2012 11:11 PM, Willy Tarreau wrote: Signed-off-by: Ben Hutchingsb...@decadent.org.uk Signed-off-by: Greg Kroah-Hartmangre...@linuxfoundation.org [wt: no scsi_cmd_blk_ioctl in 2.6.27, change callers instead.