-
Mike Krinkin authored
end_cmd finishes request associated with nullb_cmd struct, so we should save pointer to request_queue in a local variable before calling end_cmd. The problem was causes general protection fault with slab poisoning enabled. Fixes: 8b70f45e ("null_blk: restart request processing on completion handler") Tested-by:
Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by:
Mike Krinkin <krinkin.m.u@gmail.com> Signed-off-by:
Jens Axboe <axboe@fb.com>
21974061