Files
android_kernel_samsung_msm8…/include/linux
Jens Axboe fac436f91c BACKPORT: block: add blk_rq_set_block_pc()
With the optimizations around not clearing the full request at alloc
time, we are leaving some of the needed init for REQ_TYPE_BLOCK_PC
up to the user allocating the request.

Add a blk_rq_set_block_pc() that sets the command type to
REQ_TYPE_BLOCK_PC, and properly initializes the members associated
with this type of request. Update callers to use this function instead
of manipulating rq->cmd_type directly.

Includes fixes from Christoph Hellwig <hch@lst.de> for my half-assed
attempt.

Change-Id: Ifc386dfb951c5d6adebf48ff38135dda28e4b1ce
Signed-off-by: Jens Axboe <axboe@fb.com>
CVE-2017-7187
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-06 12:26:35 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:15 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 12:26:30 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
2019-08-02 15:14:10 +02:00
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
2019-08-06 10:41:58 +02:00
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-06 10:44:38 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-06 12:26:29 +02:00
…
…
…
…
2019-08-06 10:44:40 +02:00
…
…
2019-08-02 15:14:10 +02:00
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
…
2019-08-05 09:13:24 +02:00
…
…
…
…
…
…
2014-01-16 18:16:12 -08:00
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-02 15:14:10 +02:00
…
…
…
…
…
…
…
…
…
2019-08-06 10:44:14 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 09:13:25 +02:00
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
2014-07-22 14:33:44 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-05 14:22:38 +02:00
2013-10-07 12:28:53 +05:30
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
2019-08-06 12:26:30 +02:00
…
…
…
…
…
…
…
2013-11-17 11:31:01 +02:00
…
…
…
…
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2013-12-26 14:33:32 -08:00
…
…
2019-08-05 14:20:47 +02:00
…
…
…
…
…
2019-08-05 14:20:47 +02:00
…
…
2019-08-02 15:14:10 +02:00
2019-08-06 08:16:29 +02:00
…
…
…
…