]> git.pld-linux.org Git - packages/lin_tape.git/blame - linux-4.13.patch
- rel 3
[packages/lin_tape.git] / linux-4.13.patch
CommitLineData
e63c79d8
JR
1--- lin_tape-3.0.20/lin_tape_ioctl_tape.c~ 2017-09-16 10:27:48.000000000 +0200
2+++ lin_tape-3.0.20/lin_tape_ioctl_tape.c 2017-09-16 10:31:03.642711575 +0200
3@@ -6465,7 +6465,11 @@
4
5 tmp_rq = (void*)sdev->request_queue;
6 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
7+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0)
8+ scsi_req_init(scsi_req(req));
9+#else
10 scsi_req_init(req);
11+#endif
12 #else
13 req->cmd_type = REQ_TYPE_BLOCK_PC;
14 #endif
15--- lin_tape-3.0.20/lower.c~ 2017-09-16 10:27:48.000000000 +0200
16+++ lin_tape-3.0.20/lower.c 2017-09-16 10:32:08.377461388 +0200
17@@ -470,7 +470,11 @@
18 }
19
20 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
fda6bd2d 21+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,13,0)
e63c79d8
JR
22+ scsi_req_init(scsi_req(rq));
23+#else
24 scsi_req_init(rq);
25+#endif
26 #else
27 rq->cmd_type = REQ_TYPE_BLOCK_PC;
28 #endif
This page took 0.062106 seconds and 4 git commands to generate.