Commit Graph

14 Commits

Author SHA1 Message Date
Grissiom 28ff3ed186 romfs: fix a use-before-set bug on checking the dirent 2014-11-03 17:32:50 +08:00
Grissiom e882597f9c romfs: check the dirent before use it
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom 3531fa71aa romfs: declare the dummy entry as weak 2014-11-01 17:57:43 +08:00
yiyue.fang 773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
bernard.xiong@gmail.com beaf51ff82 add full path options (DFS_FS_FLAG_FULLPATH) to the file system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1904 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-01 13:37:21 +00:00
dzzxzz 44a2d720a0 unify the components/dfs coding style according to the /documentation/coding_style_cn.txt
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1866 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-23 02:11:55 +00:00
bernard.xiong f6ce7bb0d9 fix romfs lseek issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1663 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 09:13:43 +00:00
bernard.xiong 9781537575 fix romfs lookup and open directory issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1662 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-04 09:04:39 +00:00
bernard.xiong@gmail.com a0cce584a8 fix open directory but without O_DIRECTORY flag issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-06 15:01:13 +00:00
bernard.xiong@gmail.com ead014f966 update mkromfs script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1287 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-22 00:14:23 +00:00
bernard.xiong@gmail.com 54e77664fa romfs and dev is usable. fix directory adjustment in ls function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1035 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-31 13:52:58 +00:00
bernard.xiong 3c2c5df6e8 fix O_RDWR issue in ELM FatFs.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@912 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-14 04:45:45 +00:00
bernard.xiong a3ca8e33db add romfs support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@887 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-02 08:46:46 +00:00