Skip to content

Commit 3a64c46

Browse files
shechenglong-fusionaxboe
authored andcommitted
block: fix typos in comments and strings in blk-core
This patch fixes multiple spelling mistakes in comments and documentation in the file block/blk-core.c. No functional changes intended. Suggested-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: shechenglong <shechenglong@xfusion.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent a74de0c commit 3a64c46

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

block/blk-core.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,13 +662,13 @@ static void __submit_bio(struct bio *bio)
662662
* bio_list of new bios to be added. ->submit_bio() may indeed add some more
663663
* bios through a recursive call to submit_bio_noacct. If it did, we find a
664664
* non-NULL value in bio_list and re-enter the loop from the top.
665-
* - In this case we really did just take the bio of the top of the list (no
665+
* - In this case we really did just take the bio off the top of the list (no
666666
* pretending) and so remove it from bio_list, and call into ->submit_bio()
667667
* again.
668668
*
669669
* bio_list_on_stack[0] contains bios submitted by the current ->submit_bio.
670670
* bio_list_on_stack[1] contains bios that were submitted before the current
671-
* ->submit_bio, but that haven't been processed yet.
671+
* ->submit_bio(), but that haven't been processed yet.
672672
*/
673673
static void __submit_bio_noacct(struct bio *bio)
674674
{
@@ -743,8 +743,8 @@ void submit_bio_noacct_nocheck(struct bio *bio, bool split)
743743
/*
744744
* We only want one ->submit_bio to be active at a time, else stack
745745
* usage with stacked devices could be a problem. Use current->bio_list
746-
* to collect a list of requests submited by a ->submit_bio method while
747-
* it is active, and then process them after it returned.
746+
* to collect a list of requests submitted by a ->submit_bio method
747+
* while it is active, and then process them after it returned.
748748
*/
749749
if (current->bio_list) {
750750
if (split)
@@ -901,7 +901,7 @@ static void bio_set_ioprio(struct bio *bio)
901901
*
902902
* submit_bio() is used to submit I/O requests to block devices. It is passed a
903903
* fully set up &struct bio that describes the I/O that needs to be done. The
904-
* bio will be send to the device described by the bi_bdev field.
904+
* bio will be sent to the device described by the bi_bdev field.
905905
*
906906
* The success/failure status of the request, along with notification of
907907
* completion, is delivered asynchronously through the ->bi_end_io() callback
@@ -991,7 +991,7 @@ int iocb_bio_iopoll(struct kiocb *kiocb, struct io_comp_batch *iob,
991991
* point to a freshly allocated bio at this point. If that happens
992992
* we have a few cases to consider:
993993
*
994-
* 1) the bio is beeing initialized and bi_bdev is NULL. We can just
994+
* 1) the bio is being initialized and bi_bdev is NULL. We can just
995995
* simply nothing in this case
996996
* 2) the bio points to a not poll enabled device. bio_poll will catch
997997
* this and return 0

0 commit comments

Comments
 (0)