u-boot/fs/ext2
Anton Staaf d961c188b2 ext2: Simplify partial sector access logic
Previously reading or writing zero full sectors (reading the end of
one sector and the beginning of the next for example) was special
cased and involved stack allocating a second sector buffer.  This
change uses the same code path for this case as well as when there
are a non-zero number of full sectors to access.  The result is
easier to read and reduces the maximum stack used.

Signed-off-by: Anton Staaf <robotboy@chromium.org>
Cc: Andy Fleming <afleming@freescale.com>
Acked-by: Detlev Zundel <dzu@denx.de>
2011-07-28 15:36:32 +02:00
..
dev.c ext2: Simplify partial sector access logic 2011-07-28 15:36:32 +02:00
ext2fs.c ext2: constify file/dir names 2010-11-28 21:58:51 +01:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00