commit | 4b2b0b9753194cad44d7295c32044b89710efd70 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Apr 23 16:41:18 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 24 13:28:31 2009 -0700 |
tree | 7ff42b7aa3f05bcf61cfdb7abb2c23418b218291 | |
parent | 84baf74bf23bbe9f3deafb5d2f27e2b5dc0bc052 [diff] |
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: David Howells <dhowells@redhat.com> Tested-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>