From e73eab9a2fc183768335b59c459845a318b20fcd Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Fri, 27 May 2011 14:52:09 +0200 Subject: [PATCH] --- yaml --- r: 252703 b: refs/heads/master c: c642808454ac81d6a6701da6022e93bbe47bb38b h: refs/heads/master i: 252701: 9cab7f5446d10682dff55abb675887732dae313b 252699: c9557599d1ac4634f04895627bd825fd1992adef 252695: 4369807abe88f16e85cffee5de2ebdb31681ab59 252687: 4f6cc4fe7a99dca19c779a559113e54f4ff73837 252671: 313509f13bc801da6527a4236237b079a90fe4a5 v: v3 --- [refs] | 2 +- trunk/fs/bio.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 381c569265bd..2bad3e6abaed 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 55b23bde19c08f14127a27d461a4e079942c7258 +refs/heads/master: c642808454ac81d6a6701da6022e93bbe47bb38b diff --git a/trunk/fs/bio.c b/trunk/fs/bio.c index 840a0d755248..9bfade8a609b 100644 --- a/trunk/fs/bio.c +++ b/trunk/fs/bio.c @@ -638,10 +638,11 @@ static int __bio_add_page(struct request_queue *q, struct bio *bio, struct page * @offset: vec entry offset * * Attempt to add a page to the bio_vec maplist. This can fail for a - * number of reasons, such as the bio being full or target block - * device limitations. The target block device must allow bio's - * smaller than PAGE_SIZE, so it is always possible to add a single - * page to an empty bio. This should only be used by REQ_PC bios. + * number of reasons, such as the bio being full or target block device + * limitations. The target block device must allow bio's up to PAGE_SIZE, + * so it is always possible to add a single page to an empty bio. + * + * This should only be used by REQ_PC bios. */ int bio_add_pc_page(struct request_queue *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset) @@ -659,10 +660,9 @@ EXPORT_SYMBOL(bio_add_pc_page); * @offset: vec entry offset * * Attempt to add a page to the bio_vec maplist. This can fail for a - * number of reasons, such as the bio being full or target block - * device limitations. The target block device must allow bio's - * smaller than PAGE_SIZE, so it is always possible to add a single - * page to an empty bio. + * number of reasons, such as the bio being full or target block device + * limitations. The target block device must allow bio's up to PAGE_SIZE, + * so it is always possible to add a single page to an empty bio. */ int bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset)