]> git.pld-linux.org Git - packages/lin_tape.git/blob - kernel-4.17.patch
- rel 3
[packages/lin_tape.git] / kernel-4.17.patch
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
3 @@ -1365,7 +1365,11 @@
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);
9 +  #else
10                 sdev->request_queue = blk_alloc_queue_node(GFP_KERNEL, NUMA_NO_NODE);
11 +  #endif
12                 __scsi_init_queue(sdev->host, sdev->request_queue);
13  #else
14                 sdev->request_queue = __scsi_alloc_queue(sdev->host, NULL);
This page took 0.059744 seconds and 3 git commands to generate.