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

From: Paolo Bonzini
Date: Tue Feb 07 2012 - 05:03:46 EST


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
--
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/