diff options
author | Alex Talker | 2017-04-08 17:56:21 +0300 |
---|---|---|
committer | Alex Talker | 2017-04-08 17:58:46 +0300 |
commit | 511100f022d3a36a33d80553d7f43b3d27caf05e (patch) | |
tree | cd3f3cda2e151206c31aaeea139843bd5fbed2d6 /queue.patch | |
download | aur-511100f022d3a36a33d80553d7f43b3d27caf05e.tar.gz |
Init commit
Diffstat (limited to 'queue.patch')
-rw-r--r-- | queue.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/queue.patch b/queue.patch new file mode 100644 index 000000000000..50f72e06460d --- /dev/null +++ b/queue.patch @@ -0,0 +1,18 @@ +--- scst/src/scst_lib.c (revision 7103) ++++ scst/src/scst_lib.c (working copy) +@@ -8000,7 +8000,15 @@ static struct request *__blk_map_kern_sg(struct re + + if (bw != NULL) { + atomic_set(&bw->bios_inflight, bios); ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) ++ /* ++ * See also patch "block: split out request-only flags into a new namespace" ++ * (commit e806402130c9). ++ */ + rq->cmd_flags |= REQ_COPY_USER; ++#else ++ rq->rq_flags |= RQF_COPY_USER; ++#endif + } + + out:
\ No newline at end of file |