Searched hist:"4 b2b0b97" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/romfs/ |
H A D | storage.c | 4b2b0b97 Thu Apr 23 10:41:18 CDT 2009 David Howells <dhowells@redhat.com> 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> 4b2b0b97 Thu Apr 23 10:41:18 CDT 2009 David Howells <dhowells@redhat.com> 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>
|