From: Wolfgang Denk Date: Thu, 27 Oct 2011 23:50:59 +0200 Subject: [U-Boot] [PATCH] fat: correct ATTR_VFAT check In-Reply-To: <201110192143.08917.sshtylyov@ru.mvista.com> References: <201110192143.08917.sshtylyov@ru.mvista.com> Message-ID: <20111027215059.569F612B7BBC@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Sergei Shtylyov, In message <201110192143.08917.sshtylyov@ru.mvista.com> you wrote: > From: J. Vijayanand > > 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 > Signed-off-by: Sergei Shtylyov > > --- > 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@netlabs.com>