From ce479e0b01724cded1f4f6139ce068372411e31d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 20 Nov 2015 21:47:57 +0000 Subject: [PATCH] scst_local: Linux kernel v4.4 build fix Signed-off-by: Sebastian Herbszt [ bvanassche: Merged the two #if-statements into a single #if-statement ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6707 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index cf1cd8e31..45fe9c111 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1619,7 +1619,8 @@ static struct scsi_host_template scst_lcl_ini_driver_template = { #if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 25)) .eh_target_reset_handler = scst_local_target_reset, #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0) && \ + LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0) .use_blk_tags = true, #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33) || \