This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001732] fs-ecos bug/assertion
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sat, 26 Jan 2013 18:15:34 +0000
- Subject: [Bug 1001732] fs-ecos bug/assertion
- Auto-submitted: auto-generated
- References: <bug-1001732-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001732
--- Comment #4 from Bernd Edlinger <bernd.edlinger@hotmail.de> 2013-01-26 18:15:32 GMT ---
Hi Praveen,
somehow on my fs-ecos.c the line numbers are different than on yours.
But when I interpret it right what happens here, this might have happened:
The file system traverses a directory entry, and the metadata on the
flash are changed which points to an uninitialized inode.
When the invalid data are hit, the BUG is raised. Probably that should
have happened earlier...
IF your flash changes its contents when the file system is mounted,
the file system may fail. Especially if a flash is removed and
another flash inserted, you should unmount the file system when the
flash is removed, and re-mount the file system again, when the flash
is inserted again.
Once the file system has validated the flash content, the flash
should never be changed without the file system knowing that.
Regards,
Bernd.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.