1 --- lin_tape-3.0.23/intercept.c~ 2018-06-18 19:40:39.000000000 +0200
2 +++ lin_tape-3.0.23/intercept.c 2018-06-18 19:43:27.059968542 +0200
4 /* Only for fo devices */
5 /* This 'if' must match the one above in create unique */
6 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
7 + #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0)
8 + sdev->request_queue = blk_alloc_queue_node(GFP_KERNEL, NUMA_NO_NODE, NULL);
10 sdev->request_queue = blk_alloc_queue_node(GFP_KERNEL, NUMA_NO_NODE);
12 __scsi_init_queue(sdev->host, sdev->request_queue);
14 sdev->request_queue = __scsi_alloc_queue(sdev->host, NULL);