Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

block: tidy up a warning in bio_check_ro

The "generic_make_request: " prefix has no value, and will soon become
stale.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Christoph Hellwig and committed by
Jens Axboe
c8178674 f695ca38

+1 -2
+1 -2
block/blk-core.c
··· 869 869 return false; 870 870 871 871 WARN_ONCE(1, 872 - "generic_make_request: Trying to write " 873 - "to read-only block-device %s (partno %d)\n", 872 + "Trying to write to read-only block-device %s (partno %d)\n", 874 873 bio_devname(bio, b), part->partno); 875 874 /* Older lvm-tools actually trigger this */ 876 875 return false;