diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index c8943dfc8..a0664f6f0 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -519,7 +519,7 @@ static void ft_recv_tm(struct scst_session *scst_sess, scst_rx_mgmt_params_init(¶ms); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) params.lun = fcp->fc_lun.scsi_lun; #else params.lun = fcp->fc_lun; @@ -606,7 +606,7 @@ static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) cdb_len += sizeof(fcp->fc_cdb); data_len = ntohl(*(__be32 *)(fcp->fc_cdb + cdb_len)); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 4, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 3, 0) cmd = scst_rx_cmd(sess->scst_sess, fcp->fc_lun.scsi_lun, sizeof(fcp->fc_lun), fcp->fc_cdb, cdb_len, SCST_ATOMIC);