diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:38 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 15:27:23 +0200 |
commit | ed9b3196d2b26b5bd3a7e2cd4aec8e389d991fd8 (patch) | |
tree | 58c6ed14ae9f36cc45938a673d74f59dadbc2093 /fs/buffer.c | |
parent | dm: stop using ->queuedata (diff) | |
download | linux-ed9b3196d2b26b5bd3a7e2cd4aec8e389d991fd8.tar.xz linux-ed9b3196d2b26b5bd3a7e2cd4aec8e389d991fd8.zip |
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>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 64fe82ec65ff..2725ebbcfdc2 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -3040,12 +3040,7 @@ static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh, if (test_set_buffer_req(bh) && (op == REQ_OP_WRITE)) clear_buffer_write_io_error(bh); - /* - * from here on down, it's all bio -- do the initial mapping, - * submit_bio -> generic_make_request may further map this bio around - */ bio = bio_alloc(GFP_NOIO, 1); - bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); bio_set_dev(bio, bh->b_bdev); bio->bi_write_hint = write_hint; |