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

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

shechenglong and committed by
Jens Axboe
3a64c46c a74de0c3

+6 -6
+6 -6
block/blk-core.c
··· 662 662 * bio_list of new bios to be added. ->submit_bio() may indeed add some more 663 663 * bios through a recursive call to submit_bio_noacct. If it did, we find a 664 664 * 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 666 666 * pretending) and so remove it from bio_list, and call into ->submit_bio() 667 667 * again. 668 668 * 669 669 * bio_list_on_stack[0] contains bios submitted by the current ->submit_bio. 670 670 * 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. 672 672 */ 673 673 static void __submit_bio_noacct(struct bio *bio) 674 674 { ··· 743 743 /* 744 744 * We only want one ->submit_bio to be active at a time, else stack 745 745 * 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. 748 748 */ 749 749 if (current->bio_list) { 750 750 if (split) ··· 901 901 * 902 902 * submit_bio() is used to submit I/O requests to block devices. It is passed a 903 903 * 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. 905 905 * 906 906 * The success/failure status of the request, along with notification of 907 907 * completion, is delivered asynchronously through the ->bi_end_io() callback ··· 991 991 * point to a freshly allocated bio at this point. If that happens 992 992 * we have a few cases to consider: 993 993 * 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 995 995 * simply nothing in this case 996 996 * 2) the bio points to a not poll enabled device. bio_poll will catch 997 997 * this and return 0