From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4F13E4FD.3070500@redhat.com> Date: Mon, 16 Jan 2012 09:51:09 +0100 From: Paolo Bonzini MIME-Version: 1.0 To: Linus Torvalds CC: linux-kernel@vger.kernel.org, Petr Matousek , linux-scsi@vger.kernel.org, Jens Axboe , James Bottomley , stable@vger.kernel.org Subject: Re: [PATCH v2 2/3] block: fail SCSI passthrough ioctls on partition devices References: <1326380489-9044-1-git-send-email-pbonzini@redhat.com> <1326380489-9044-3-git-send-email-pbonzini@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 01/15/2012 12:43 AM, Linus Torvalds wrote: > Anyway, with the changes to print out warnings and still allow it for > root, this all looked safe and nice, so they are in my tree now. I > only noticed after applying them that you hadn't marked them with 'cc: > stable@kernel.org', so we should probably point Greg at them. They are > commits > > 577ebb374c78 block: add and use scsi_blk_cmd_ioctl > 0bfc96cb7722 block: fail SCSI passthrough ioctls on partition devices > ec8013beddd7 dm: do not forward ioctls from logical volumes to the > underlying device > > in my tree now. I'll tweak them myself for stable based on what you committed, so that they do not require your ENOTTY/ENOIOCTLCMD change (i.e. with the uglier v1 implementation). Thanks very much. Paolo