From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 90/91] block: fail SCSI passthrough ioctls on partition devices Date: Tue, 07 Feb 2012 11:03:03 +0100 Message-ID: <4F30F6D7.8080401@redhat.com> References: <0635750f5f06ed2ca212b91fcb5c4483@local> <20120205220953.312427771@pcw.home.local> <4F2F0669.3000601@redhat.com> <20120205225314.GF8334@1wt.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120205225314.GF8334@1wt.eu> Sender: linux-kernel-owner@vger.kernel.org To: Willy Tarreau Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-scsi@vger.kernel.org, Jens Axboe , James Bottomley , Linus Torvalds , Ben Hutchings , Greg Kroah-Hartman List-Id: linux-scsi@vger.kernel.org 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 scsi_cmd_blk_ioctl(). There were other callers in patch 1/3, most notably virtio-blk, that are not in your patch. I*think* I did it correctly, but it would be safer > to apply the original patch, of course. Now I see the patch (618 in my queue). > I'll merge it and it will simplify the backport. Sounds like a plan, thanks! Paolo