From: Paolo Bonzini Date: Thu, 12 Jan 2012 15:01:27 +0000 (+0100) Subject: block: add and use scsi_blk_cmd_ioctl X-Git-Tag: v3.2.2~40 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a7ce632fb11cce578b7fdf4b4bbc8fbb99987a;p=pandora-kernel.git block: add and use scsi_blk_cmd_ioctl commit 577ebb374c78314ac4617242f509e2f5e7156649 upstream. Introduce a wrapper around scsi_cmd_ioctl that takes a block device. The function will then be enhanced to detect partition block devices and, in that case, subject the ioctls to whitelisting. Cc: linux-scsi@vger.kernel.org Cc: Jens Axboe Cc: James Bottomley Signed-off-by: Paolo Bonzini Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed