Message ID | 20200106103735.10327-1-guoqing.jiang@cloud.ionos.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | docs: block/biovecs: update the location of bio.c | expand |
On 2020-01-06 02:37, jgq516@gmail.com wrote: > Replace fs with block since bio.c had been moved to block folder. Reviewed-by: Bart Van Assche <bvanassche@acm.org>
On Mon, 6 Jan 2020 11:37:35 +0100 jgq516@gmail.com wrote: > From: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> > > Replace fs with block since bio.c had been moved to block folder. > > Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com> > --- > Documentation/block/biovecs.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/block/biovecs.rst b/Documentation/block/biovecs.rst > index 86fa66c87172..ad303a2569d3 100644 > --- a/Documentation/block/biovecs.rst > +++ b/Documentation/block/biovecs.rst > @@ -47,7 +47,7 @@ Having a real iterator, and making biovecs immutable, has a number of > advantages: > > * Before, iterating over bios was very awkward when you weren't processing > - exactly one bvec at a time - for example, bio_copy_data() in fs/bio.c, > + exactly one bvec at a time - for example, bio_copy_data() in block/bio.c, > which copies the contents of one bio into another. Because the biovecs Applied, thanks. jon
diff --git a/Documentation/block/biovecs.rst b/Documentation/block/biovecs.rst index 86fa66c87172..ad303a2569d3 100644 --- a/Documentation/block/biovecs.rst +++ b/Documentation/block/biovecs.rst @@ -47,7 +47,7 @@ Having a real iterator, and making biovecs immutable, has a number of advantages: * Before, iterating over bios was very awkward when you weren't processing - exactly one bvec at a time - for example, bio_copy_data() in fs/bio.c, + exactly one bvec at a time - for example, bio_copy_data() in block/bio.c, which copies the contents of one bio into another. Because the biovecs wouldn't necessarily be the same size, the old code was tricky convoluted - it had to walk two different bios at the same time, keeping both bi_idx and