[U-Boot] [PATCH] fat: correct ATTR_VFAT check

Wolfgang Denk wd at denx.de
Thu Oct 27 23:50:59 CEST 2011


Dear Sergei Shtylyov,

In message <201110192143.08917.sshtylyov at ru.mvista.com> you wrote:
> From: J. Vijayanand <vijayanand.jayaraman at in.bosch.com>
> 
> ATTR_VFAT condition requires multiple bits to be set but the present
> condition checking in do_fat_read() & get_dentfromdir() ends up
> passing on even a single bit being set.
> 
> Signed-off-by: J. Vijayanand <vijayanand.jayaraman at in.bosch.com>
> Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>
> 
> ---
>  fs/fat/fat.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 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
Defaults are wonderful, just like fire.
                  - Larry Wall in <1996Mar6.004121.27890 at netlabs.com>


More information about the U-Boot mailing list