mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
We call mmc_req_is_special() after having processed a request, but
it could be freed after that. Check that ahead of time, and use
the cached value.
Reported-by: Hans de Goede <[email protected]>
Tested-by: Hans de Goede <[email protected]>
Fixes: c2df40dfb8 ("drivers: use req op accessor")
Signed-off-by: Jens Axboe <[email protected]>