From: Ilias Tsitsimpis Date: Thu, 23 Apr 2015 18:30:06 +0000 (+0300) Subject: target/loop: Enable VARLEN CDB support X-Git-Tag: omap-for-v4.2/fixes-rc1^2~8^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9736f4ad7c6dd79eea36c7fb537a27bbd802582a;p=pandora-kernel.git target/loop: Enable VARLEN CDB support Field shost->max_cmd_len is used to inform Linux / the SCSI midlayer of the maximum CDB size an LLD is capable of handling. Set this field to SCSI_MAX_VARLEN_CDB_SIZE for target, to enable support for variable-sized CDBs (0x7E). Also remove the definition of TL_SCSI_MAX_CMD_LEN since it is now redundant. Signed-off-by: Ilias Tsitsimpis Signed-off-by: Vangelis Koukis Reviewed-by: Andy Grover Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed