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

vfs: Improve the bio_add_page() and bio_add_pc_page() descriptions

The descriptions of bio_add_page() and bio_add_pc_page() are slightly
inconsistent; improve them.

Signed-off-by: Andreas Gruenbacher <agruen@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by

Andreas Gruenbacher and committed by
Al Viro
c6428084 55b23bde

+8 -8
+8 -8
fs/bio.c
··· 638 638 * @offset: vec entry offset 639 639 * 640 640 * Attempt to add a page to the bio_vec maplist. This can fail for a 641 - * number of reasons, such as the bio being full or target block 642 - * device limitations. The target block device must allow bio's 643 - * smaller than PAGE_SIZE, so it is always possible to add a single 644 - * page to an empty bio. This should only be used by REQ_PC bios. 641 + * number of reasons, such as the bio being full or target block device 642 + * limitations. The target block device must allow bio's up to PAGE_SIZE, 643 + * so it is always possible to add a single page to an empty bio. 644 + * 645 + * This should only be used by REQ_PC bios. 645 646 */ 646 647 int bio_add_pc_page(struct request_queue *q, struct bio *bio, struct page *page, 647 648 unsigned int len, unsigned int offset) ··· 660 659 * @offset: vec entry offset 661 660 * 662 661 * Attempt to add a page to the bio_vec maplist. This can fail for a 663 - * number of reasons, such as the bio being full or target block 664 - * device limitations. The target block device must allow bio's 665 - * smaller than PAGE_SIZE, so it is always possible to add a single 666 - * page to an empty bio. 662 + * number of reasons, such as the bio being full or target block device 663 + * limitations. The target block device must allow bio's up to PAGE_SIZE, 664 + * so it is always possible to add a single page to an empty bio. 667 665 */ 668 666 int bio_add_page(struct bio *bio, struct page *page, unsigned int len, 669 667 unsigned int offset)