public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Bug in FAT32 filesystem
@ 2007-01-25  5:31 楊雅超
  2007-01-27 13:16 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: 楊雅超 @ 2007-01-25  5:31 UTC (permalink / raw)
  To: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=big5, Size: 635 bytes --]

Hi,All
     I found a bug in FAT16/32 Filesystem. When I
delete file in FAT32, it seems not work correctly. In
the function called "fatfs_delete_file", the start
cluster for "free_cluster_chain" should not be the
"raw_dentry.cluster", it should be
"(raw_dentry.cluster | raw_dentry.cluster_HI << 16)"
for FAT32.

___________________________________________________ 
 ±zªº¥Í¬¡§Y®É³q ¡Ð ·¾³q¡B®T¼Ö¡B¥Í¬¡¡B¤u§@¤@¦¸·d©w¡I 
 http://messenger.yahoo.com.tw/

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Bug in FAT32 filesystem
  2007-01-25  5:31 [ECOS] Bug in FAT32 filesystem 楊雅超
@ 2007-01-27 13:16 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-01-27 13:16 UTC (permalink / raw)
  To: a8850607; +Cc: ecos-discuss

On Thu, Jan 25, 2007 at 01:31:21PM +0800, ?????W wrote:
> Hi,All
>      I found a bug in FAT16/32 Filesystem. When I
> delete file in FAT32, it seems not work correctly. In
> the function called "fatfs_delete_file", the start
> cluster for "free_cluster_chain" should not be the
> "raw_dentry.cluster", it should be
> "(raw_dentry.cluster | raw_dentry.cluster_HI << 16)"
> for FAT32.

Please could you produce a real patch to fix the bug. It then make it
very clear what you are talking about. At the moment i don't really
understand what you are talking about without spending a lot of time
searching the code.

          Thanks
                Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-27 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-25  5:31 [ECOS] Bug in FAT32 filesystem 楊雅超
2007-01-27 13:16 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).