diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 07:27:23 -0600 |
commit | c8178674608679c8146235abb0be4e2c3a86f409 (patch) | |
tree | faea4e5995b1b28de652d000eb05bd91ae464a10 /block/blk-core.c | |
parent | f695ca3886ce72b027af7aa6040cd420cae2088c (diff) |
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>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r-- | block/blk-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 76cfd5709f66..95dca74534ff 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -869,8 +869,7 @@ static inline bool bio_check_ro(struct bio *bio, struct hd_struct *part) return false; WARN_ONCE(1, - "generic_make_request: Trying to write " - "to read-only block-device %s (partno %d)\n", + "Trying to write to read-only block-device %s (partno %d)\n", bio_devname(bio, b), part->partno); /* Older lvm-tools actually trigger this */ return false; |