stream: Switch stream_populate() to byte-based
commit8493211c02bbc74d1ae051422f90bbfd20debb5e
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 12:44:41 +0000 (7 07:44 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (10 13:18 +0200)
treef1e1f58c3de3c41281a0c52555d8c7743f9b120a
parent5cb1a49e01db12a38790c982aafde94977f7b0ee
stream: Switch stream_populate() to byte-based

We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Start by converting an
internal function (no semantic change).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/stream.c