Commit Graph

83 Commits

Author SHA1 Message Date
Bernard Xiong 455daf8e7a Add ioctl API and fix the read/write conflict issue with newlib's API. 2015-12-22 10:18:36 +08:00
Bernard Xiong d2ec1f3eaa [DFS] remove st_blksize in the struct stat 2015-10-01 06:46:52 +00:00
www220@tom.com 3bd1a372a0 修正mkdir lseek中文件句柄不释放的bug 2015-09-11 19:34:37 +08:00
Bernard Xiong 52e0d3ce0f [DFS] Add fsync function 2015-07-16 10:35:42 +08:00
Bernard Xiong c6d4407c57 [DFS] Fix the fd clear issue. 2015-06-04 22:23:53 +08:00
Bernard Xiong a7d6e284d0 [DFS] Export dfs_subdir/dfs_normalize_path symbol to module. 2015-05-02 08:55:08 +08:00
Aubr.Cool eb898f69c9 Correct dfs fd_is_open search index error 2015-01-27 11:00:25 +08:00
Grissiom 9a75583349 dfs: check for null reference 2014-10-14 16:09:10 +08:00
bernard 582aff86ed Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-08-01 12:03:24 +08:00
bernard 516711dc1d [DFS] make comments cleanup. 2014-08-01 12:03:11 +08:00
Bernard Xiong 59c128c073 [libc] fix compiling warning 2014-07-31 09:30:18 +08:00
bernard a118801bfe [DFS] Add dfs_filesystem_get_mounted_path() function. 2014-06-26 13:59:26 +08:00
Grissiom 4b7e9c6447 dfs: assert the path is not null in dfs_filesystem_lookup
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
prife f015f36d05 dfs: support copy directory 2014-02-09 15:27:52 +08:00
bernard 7fd45f3d44 [DFS] remove the unnecessary code 2014-01-04 06:05:03 +08:00
prife 95006bb503 Merge pull request #215 from prife/master
fix dfs_unmount bug
2013-12-21 04:06:25 -08:00
Grissiom 1289dff203 DFS: let mount fail on device open error 2013-12-21 12:15:31 +08:00
prife 4f9dc273ec dfs: fix dfs_unmount bug
fix #211
2013-12-21 11:35:09 +08:00
prife 27112267e9 dfs: rename varialbe name in dfs_filesystem_lookup
empty is confused in dfs_filesystem_lookup.
2013-12-21 10:58:52 +08:00
prife f4e8820bca dfs: refine more code
clean code with pointer rather than index
2013-12-19 13:58:30 +08:00
prife 7fd6d17d5b dfs: refine code
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
2013-12-19 00:31:39 +08:00
bernard a124e7bd22 add initialization debug code 2013-07-24 07:33:48 +08:00
bernard b96b35613f add mount table 2013-07-22 07:46:10 +08:00
prife 15b08b483a dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org 2013-07-06 16:41:10 +08:00
yiyue.fang 773990abdb Embedded GPLv2 license in dfs 2013-06-26 22:30:40 +08:00
Bernard Xiong 9acd018cbb fix compiling warning 2013-06-23 07:57:22 +08:00
Bernard Xiong 88c9bc2d64 fix compiling error 2013-06-23 07:53:19 +08:00
Bernard Xiong 98c8a23e94 Add component initialization. 2013-06-23 07:48:42 +08:00
geniusgogo f95cd9a354 dfs_fs.c: optimized redundant loop. 2013-04-01 02:53:59 +08:00
geniusgogo 8d6264af58 dfs.c: delete the redunant space in the line end. 2013-04-01 02:37:13 +08:00
geniusgogo ec6f9e3b5a dfs.c: fix null pointer bug. 2013-04-01 02:31:24 +08:00
prife 4be62911f9 show volume size in KBytes in df 2013-01-25 12:17:47 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
prife 5646189b29 elm fatfs support mkfs with no need to run dfs_mount elm first; and can mount/umount/mkfs without reset any more 2013-01-08 18:58:45 +08:00
goprife@gmail.com 58fc3334b0 add dfs_fd check code in dfs and fix a warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2547 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 06:28:28 +00:00
goprife@gmail.com c0fadff061 dfs_fd check code should not be in fd_get, which will cause open/mkdir failed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2546 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 05:01:02 +00:00
goprife@gmail.com 911cbb5793 move check dfs_fd valid code from close to fd_get
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2540 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 02:49:35 +00:00
goprife@gmail.com 1c419d428e check dfs_fd valid in close
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2539 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-28 13:40:52 +00:00
dzzxzz@gmail.com 69521e2c8f fixed the coding style in components/dfs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2530 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-26 01:12:13 +00:00
goprife@gmail.com 56ab153b1c update dfs to support NFTL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2478 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-13 02:13:34 +00:00
goprife@gmail.com d9b0bec989 fix bug in dfs_unmount when test unmount condition found by Rob(rdent@iinet.net.au)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2356 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-20 01:59:41 +00:00
qiuyiuestc@gmail.com 76ba5137dd export symbols in dfs_posix.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 12:55:35 +00:00
dzzxzz@gmail.com 128a283245 fixed a spelling error and use RT_NULL instead of NULL in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 10:08:46 +00:00
dzzxzz@gmail.com fdc7dfc768 use RT_NULL instead of NULL in DFS, and format the code in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
dzzxzz@gmail.com 9d4072ce59 fixed spelling errors in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:09:42 +00:00
bernard.xiong@gmail.com 94d413a7a7 merge 1.0.2 modification.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
qiuyiuestc@gmail.com 4421ec8c64 fix memory leak issue in unmount function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1999 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 11:22:51 +00:00
goprife@gmail.com 6202b6c155 fix bugs in lseek in dfs_posix.c and dfs_jffs2.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-15 07:28:47 +00:00
dzzxzz@gmail.com 48a170f861 calling function fd_put() before rt_set_errno()
then tid->error can avoid being changed unexpectedly

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1940 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-09 03:30:30 +00:00
bernard.xiong@gmail.com df84097076 fix the spelling issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1934 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:20:58 +00:00