Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Fix flush request sector restore
Make sure that a request bio is not NULL before trying to restore the request start sector. Reported-by: Yi Zhang <[email protected]> Fixes: 6f8fd75 ("block: Restore sector of flush requests") Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information