--- block/scsi_ioctl.c	2007-02-04 19:44:54.000000000 +0100
+++ block/scsi_ioctl.c	2007-05-28 23:49:49.000000000 +0200
@@ -114,6 +114,7 @@
 
 static int verify_command(struct file *file, unsigned char *cmd)
 {
+#if 0
 	static unsigned char cmd_type[256] = {
 
 		/* Basic read-only commands */
@@ -218,6 +219,9 @@
 
 	/* Otherwise fail it with an "Operation not permitted" */
 	return -EPERM;
+#else
+	return 0;
+#endif
 }
 
 static int sg_io(struct file *file, request_queue_t *q,

