[U-Boot] [PATCH v2 2/2] ext2: Simplify partial sector access logic
Wolfgang Denk
wd at denx.de
Thu Jul 28 15:36:35 CEST 2011
Dear Anton Staaf,
In message <1309459537-312-3-git-send-email-robotboy at chromium.org> you wrote:
> Previously reading 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 at chromium.org>
> Cc: Andy Fleming <afleming at freescale.com>
> Cc: Detlev Zundel <dzu at denx.de>
> ---
> fs/ext2/dev.c | 42 +++++++++++++++---------------------------
> 1 files changed, 15 insertions(+), 27 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can type faster than I can move a mouse, so I find menu-driven
drawing packages time consuming and frustrating. - W. R. Stevens
More information about the U-Boot
mailing list