Paolo Bonzini 577ebb374c block: add and use scsi_blk_cmd_ioctl
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 <axboe@kernel.dk>
Cc: James Bottomley <JBottomley@parallels.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-14 15:07:24 -08:00
..
2011-10-13 17:04:50 -04:00
2009-05-17 19:12:25 +02:00
2010-10-26 10:17:29 -07:00
2011-10-13 17:04:50 -04:00
2011-08-04 01:29:51 -07:00
2011-03-09 19:54:27 +01:00
2011-10-03 14:28:18 -04:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2011-03-10 08:52:07 +01:00
2010-01-19 11:30:09 -08:00
2011-03-17 14:05:34 +01:00
2009-04-08 14:13:03 +02:00
2011-10-11 15:19:43 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00