diff options
author | David Howells <dhowells@redhat.com> | 2009-04-23 17:41:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-24 22:28:31 +0200 |
commit | 4b2b0b9753194cad44d7295c32044b89710efd70 (patch) | |
tree | 7ff42b7aa3f05bcf61cfdb7abb2c23418b218291 /kernel | |
parent | ROMFS: romfs_lookup() shouldn't be doing a partial name comparison (diff) | |
download | linux-4b2b0b9753194cad44d7295c32044b89710efd70.tar.xz linux-4b2b0b9753194cad44d7295c32044b89710efd70.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions