Skip to content
Commit 4b2b0b97 authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

ROMFS: Advance destination buffer pointer when reading from a blockdev



RomFS should advance the destination buffer pointer when reading data from a
blockdev source (the data may be split over multiple blocks, each requiring its
own sb_read() call).  Without this, all the data is copied to the beginning of
the output buffer.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Tested-by: default avatarMichal Simek <monstr@monstr.eu>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 84baf74b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment