[PATCH 5.10 0/1] block: replace WARN_ONCE with pr_warn in bio_check_ro
From: Fedor Pchelkin
Date: Sat Jan 14 2023 - 17:28:07 EST
Syzkaller reports warning in submit_bio_checks in 5.10 stable releases.
The issue has been fixed by the following patch which can be cleanly
applied to 5.10 branch.
bio->bi_bdev from original patch is not compatible with 5.10 so adapted
the print message to work with 5.10 cleanly.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.