Skip to content

Commit ed9b319

Browse files
Christoph Hellwigaxboe
authored andcommitted
fs: remove a weird comment in submit_bh_wbc
All bios can get remapped if submitted to partitions. No need to comment on that. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent c4a59c4 commit ed9b319

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎fs/buffer.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,12 +3040,7 @@ static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
30403040
if (test_set_buffer_req(bh) && (op == REQ_OP_WRITE))
30413041
clear_buffer_write_io_error(bh);
30423042

3043-
/*
3044-
* from here on down, it's all bio -- do the initial mapping,
3045-
* submit_bio -> generic_make_request may further map this bio around
3046-
*/
30473043
bio = bio_alloc(GFP_NOIO, 1);
3048-
30493044
bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9);
30503045
bio_set_dev(bio, bh->b_bdev);
30513046
bio->bi_write_hint = write_hint;

0 commit comments

Comments
 (0)