linux-sg2042/block/partitions
Anton Altaparmakov 97387e3baa LDM: Fix reassembly of extended VBLKs.
From: Ben Hutchings <ben@decadent.org.uk>

Extended VBLKs (those larger than the preset VBLK size) are divided
into fragments, each with its own VBLK header.  Our LDM implementation
generally assumes that each VBLK is contiguous in memory, so these
fragments must be assembled before further processing.

Currently the reassembly seems to be done quite wrongly - no VBLK
header is copied into the contiguous buffer, and the length of the
header is subtracted twice from each fragment.  Also the total
length of the reassembled VBLK is calculated incorrectly.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Anton Altaparmakov <anton@tuxera.com>
2012-02-24 09:37:42 +00:00
..
Kconfig move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
Makefile move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
acorn.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
acorn.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
amiga.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
amiga.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
atari.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
atari.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
check.c separate partition format handling from generic code 2012-01-03 22:54:06 -05:00
check.h separate partition format handling from generic code 2012-01-03 22:54:06 -05:00
efi.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
efi.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
ibm.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
ibm.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
karma.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
karma.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
ldm.c LDM: Fix reassembly of extended VBLKs. 2012-02-24 09:37:42 +00:00
ldm.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
mac.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
mac.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
msdos.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
msdos.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
osf.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
osf.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sgi.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sgi.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sun.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sun.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sysv68.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
sysv68.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
ultrix.c move fs/partitions to block/ 2012-01-03 22:54:06 -05:00
ultrix.h move fs/partitions to block/ 2012-01-03 22:54:06 -05:00