aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2024-05-01 20:09:01 +0900
committerJens Axboe <[email protected]>2024-05-01 08:08:43 -0600
commitaf147b740f111730c2e387ee6c0ac3ada7d51117 (patch)
treede842594a9a1c4bfc784869129faa2371421b961 /rust/helpers/helpers.c
parent7b295187287e0006dd1b0b95f995f00878e436c5 (diff)
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: 6f8fd758de63 ("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]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions