Paolo Valente
fd03177c33
block, bfq: handle NULL return value by bfq_init_rq()
...
As reported in [1], the call bfq_init_rq(rq) may return NULL in case
of OOM (in particular, if rq->elv.icq is NULL because memory
allocation failed in failed in ioc_create_icq()).
This commit handles this circumstance.
[1] https://lkml.org/lkml/2019/7/22/824
Cc: Hsin-Yi Wang <hsinyi@google.com>
Cc: Nicolas Boichat <drinkcat@chromium.org>
Cc: Doug Anderson <dianders@chromium.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Reported-by: Hsin-Yi Wang <hsinyi@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-08-08 07:31:50 -06:00
..
2019-07-15 11:03:02 -03:00
2019-04-30 16:11:57 -06:00
2019-06-20 10:32:35 -06:00
2019-08-08 07:31:50 -06:00
2019-06-25 09:07:34 -06:00
2019-04-30 16:11:59 -06:00
2019-07-11 20:01:21 -06:00
2019-07-11 20:04:36 -06:00
2019-07-16 10:06:39 -06:00
2019-07-10 14:18:01 -06:00
2019-04-30 16:12:03 -06:00
2019-04-30 16:11:57 -06:00
2019-07-15 09:20:27 -03:00
2018-11-15 12:17:28 -07:00
2019-07-16 10:06:39 -06:00
2018-11-14 08:17:18 -07:00
2019-06-20 10:29:22 -06:00
2019-07-03 07:20:40 -06:00
2019-05-31 15:12:34 -06:00
2019-01-17 21:21:40 -07:00
2019-07-09 10:45:06 -07:00
2019-06-13 03:00:30 -06:00
2019-05-31 15:12:34 -06:00
2019-05-31 15:12:34 -06:00
2019-07-02 21:03:27 -06:00
2019-07-23 07:25:09 -06:00
2019-05-07 18:14:36 -07:00
2019-07-02 21:03:27 -06:00
2017-11-14 15:32:19 -08:00
2019-05-31 15:12:34 -06:00
2019-07-23 07:25:09 -06:00
2019-07-10 14:18:01 -06:00
2018-11-15 12:17:28 -07:00
2018-11-15 12:17:28 -07:00
2019-07-18 10:20:14 -06:00
2019-04-30 16:12:03 -06:00
2019-07-26 12:50:57 -06:00
2018-11-15 12:13:25 -07:00
2019-04-30 16:12:03 -06:00
2018-12-12 06:47:51 -07:00
2019-06-06 22:39:39 -06:00
2019-07-10 09:00:57 -06:00
2019-04-30 16:12:03 -06:00
2019-04-30 16:12:03 -06:00
2018-07-09 09:07:54 -06:00
2019-07-11 20:04:40 -06:00
2019-06-20 10:29:22 -06:00
2019-04-30 09:26:13 -06:00
2019-05-31 15:12:34 -06:00
2019-04-30 16:11:57 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-06 22:39:39 -06:00
2019-07-16 10:16:33 -06:00
2019-04-30 16:12:03 -06:00
2019-07-15 09:20:27 -03:00
2019-07-15 11:03:02 -03:00
2019-07-15 09:20:27 -03:00
2019-07-02 21:03:27 -06:00
2018-11-07 13:42:32 -07:00
2019-07-15 09:20:27 -03:00
2019-06-29 10:34:08 -06:00
2019-04-22 09:48:12 -06:00
2019-04-30 16:11:57 -06:00
2019-06-29 10:34:08 -06:00
2019-04-30 16:11:57 -06:00