Mercurial > flash_v2
annotate packages/fs/jffs2/current/ChangeLog @ 1547:008dfd864e5e
* src/fs-ecos.c:
Fixed umount memory leak. root->jffs2_i.dents where not freed.
| author | asl |
|---|---|
| date | Mon, 15 Mar 2004 17:03:44 +0000 |
| parents | 748c09136e09 |
| children | 472128e44522 |
| rev | line source |
|---|---|
| 1547 | 1 2004-03-11 Oyvind Harboe <oyvind.harboe@zylin.com> |
| 2 | |
| 3 * src/fs-ecos.c: | |
| 4 Fixed umount memory leak. root->jffs2_i.dents where not freed. | |
| 5 | |
| 1533 | 6 2004-02-20 Vincent Catros <Vincent.Catros@elios-informatique.fr> |
| 7 | |
| 8 * src/fs-ecos.c : | |
| 9 (jffs2_find) Policy to skip path separator is no longer | |
| 10 "if '/' then skip" but "while '/' then skip" allowing | |
| 11 multi '/' separators (i.e : /tmp////foo). | |
| 12 (find_entry) Policy to detect end of path is no longer | |
| 13 "if '\0' then end_of_path" | |
| 14 but "while '/' skip it and then if '\0' then end_of_path" | |
| 15 allowing path terminated with any number of '/' | |
| 16 (i.e : chdir(/tmp///)). | |
| 17 | |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
18 2004-03-03 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
19 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
20 * src/fs-ecos.c: |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
21 Make JFFS2 honor O_TRUNC flag when opening files /w read access. |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
22 |
| 1500 | 23 2004-02-17 David Woodhouse <dwmw2@redhat.com> |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
24 |
| 1500 | 25 * src/fs-ecos.c: |
| 26 Don't re-initialise the already-locked f->sem. It makes eCos unhappy. | |
| 27 | |
| 28 2004-01-27 David Woodhouse <dwmw2@redhat.com> | |
|
1481
ba7fea8efa2f
* src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
asl
parents:
1458
diff
changeset
|
29 |
| 1500 | 30 * src/write.c: |
| 31 Fix bug noted by Howard Gray; dirents belong to, and should dirty, | |
| 32 the _parent_inode, not the child (which may be zero in the case | |
| 33 of an unlink). | |
|
1458
b535fe01cba6
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
asl
parents:
1443
diff
changeset
|
34 |
|
1536
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
35 2004-01-09 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
36 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
37 * src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link(). |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
38 |
|
748c09136e09
Redo some previous changes that were lost in merge with MTD files
gthomas
parents:
1533
diff
changeset
|
39 2004-01-05 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1500 | 40 |
| 41 * cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been | |
|
1458
b535fe01cba6
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
asl
parents:
1443
diff
changeset
|
42 removed by previous change. |
| 1500 | 43 |
| 1443 | 44 2003-11-26 David Woodhouse <dwmw2@redhat.com> |
| 45 | |
| 46 JFFS2 cleanup and import of newer code. Remove last vestiges of | |
| 47 Linuxisms such as 'struct inode' from the core code, leaving eCos | |
| 48 with no excuse, and renaming the eCos 'struct inode' to make that | |
| 49 point. Fix i_count handling throughout. Clean up remaining Linuxisms | |
| 50 such as 'struct qstr' to the point where jffs2port.h can be removed. | |
| 51 Add skeleton for background garbage-collect thread. Fix compression | |
| 52 so that it's actually called, and even with the right pointers. Turn | |
| 53 on -Werror again. Zero tolerance is a good thing. Make the i_mode | |
| 54 conversion functions non-inline to avoid warnings. Fix namespace | |
| 55 pollution (of all but ^jffs2_* at least). Move physical flash I/O | |
| 56 functions into separate file flashio.c for relatively easy | |
| 57 substitution. Various other cruftectomy. | |
| 58 | |
|
1403
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
59 2003-11-25 Andrew Lunn <andrew.lunn@ascom.ch> |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
60 |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
61 * src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
62 ARM gcc 3.2 compiler. |
|
f1fd4d249787
* src/fs-ecos.c: ARM gcc 3.2.3 is also broken. Complain with any
asl
parents:
1378
diff
changeset
|
63 |
| 1378 | 64 2003-11-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 65 | |
| 66 * cdl/jffs2.cdl: Do not require zlib package if no | |
| 67 compression configured. | |
| 68 | |
| 1373 | 69 2003-11-20 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 70 | |
| 71 * cdl/jffs2.cdl: | |
| 72 * src/malloc-ecos.c: | |
| 73 * src/fs-ecos.c: Allocate jffs2_raw_node_ref structs | |
| 74 from pool or malloc depending on a CDL configuration. | |
| 75 | |
| 76 2003-11-20 David Woodhouse <dwmw2@infradead.org> | |
| 77 | |
| 78 * Rearrangement of the compression code into a cleaner API | |
| 79 which can be disabled under control from CDL. | |
| 80 | |
| 1305 | 81 2003-10-14 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 82 | |
| 1373 | 83 * src/os-ecos.h: Made definition of CONFIG_JFFS2_FS_DEBUG |
| 84 conditional, so it can be overwritten by a -D compiler | |
| 85 option. | |
| 1305 | 86 |
| 1271 | 87 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 88 | |
| 89 * src/fs-ecos.c: Another umount() fix. | |
| 90 | |
|
1269
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
91 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch> |
|
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
92 |
| 1373 | 93 * src/fs-ecos.c: Added test to detect known broken ARM compiler |
|
1269
46534b4d0054
* src/fs-ecos.c: Added test to detect known broken ARM compiler
asl
parents:
1241
diff
changeset
|
94 |
| 1241 | 95 2003-09-23 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 96 | |
| 97 * src/fs-ecos.c: Fixed broken hard link creation. | |
| 1373 | 98 |
|
1239
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
99 2003-09-23 Andrew Lunn <andrew.lunn@ascom.ch> |
|
b3be08d8eebb
* src/fs-ecos.c: Minor optimization of previous patch.
asl
parents:
1238
diff
changeset
|
100 |
| 1373 | 101 * src/fs-ecos.c: Minor optimization of previous patch. |
| 102 | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
103 2003-09-21 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 1373 | 104 Andrew Lunn <andrew.lunn@ascom.ch> |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
105 |
| 1373 | 106 * src/fs-ecos.c: Do not decrement mount count for unsuccessful |
| 107 umount attempts. | |
|
1238
b3c09d540f56
* src/fs-ecos.c: Do not decrement mount count for unsuccessful
asl
parents:
1222
diff
changeset
|
108 |
| 1222 | 109 2003-09-19 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 110 | |
| 1373 | 111 * src/fs-ecos.c: Another inode number fix. |
| 1222 | 112 |
|
1220
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
113 2003-09-18 Thomas Koeller <thomas.koeller@baslerweb.com> |
|
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
114 |
| 1373 | 115 * src/fs-ecos.c: Inode number returned by stat() was bogus. |
|
1220
c87d732b5f4a
Fix stat() to return valid inode number - from Thomas Koeller
gthomas
parents:
1139
diff
changeset
|
116 |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
117 2003-07-27 Andrew Lunn <andrew.lunn@ascom.ch> |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
118 |
| 1373 | 119 * src/os-ecos.h: Added new #defines require for the recent jffs2 |
| 120 import. | |
|
1139
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
121 |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
122 2003-07-27 Michael Checky <Michael_Checky@ThermoKing.com> |
|
e38842dfa4cc
* src/os-ecos.h: Added new #defines require for the recent jffs2
asl
parents:
954
diff
changeset
|
123 |
| 1373 | 124 * src/fs-ecos.c: Changed the return error code to be negative as |
| 125 expected by jffs2_flash_read() and jffs2_flash_write(). | |
| 126 | |
|
954
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
127 2003-04-23 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be> |
|
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
128 |
| 1373 | 129 * src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end. |
|
954
47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
jlarmour
parents:
875
diff
changeset
|
130 |
| 875 | 131 2003-03-25 Thomas Koeller <thomas.koeller@baslerweb.com> |
| 132 | |
| 1373 | 133 * src/fs-ecos.c |
| 875 | 134 Fixed segmentation fault when unmounting file system. |
| 135 | |
| 705 | 136 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com> |
| 137 | |
| 1373 | 138 * cdl/jffs2.cdl: Fix doc link. |
| 705 | 139 |
|
572
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
140 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com> |
|
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
141 |
| 1373 | 142 * cdl/jffs2.cdl: Remove unused flash geometry CDL options. |
|
572
028207710cba
* cdl/jffs2.cdl: Remove unused flash geometry CDL options.
jlarmour
parents:
570
diff
changeset
|
143 |
| 570 | 144 2003-02-04 Gary Thomas <gary@mlbassoc.com> on behalf of |
| 1373 | 145 2003-02-04 David Woodhouse <dwmw2@cambridge.redhat.com> |
| 570 | 146 |
| 1373 | 147 * src/write.c: |
| 148 * src/scan.c: | |
| 149 * src/readinode.c: | |
| 150 * src/read.c: | |
| 151 * src/pushpull.h: | |
| 152 * src/os-ecos.h: | |
| 153 * src/nodemgmt.c: | |
| 154 * src/nodelist.h: | |
| 155 * src/nodelist.c: | |
| 156 * src/malloc-ecos.c: | |
| 157 * src/jffs2port.h: | |
| 158 * src/gc.c: | |
| 159 * src/file-ecos.c: | |
| 160 * src/erase.c: | |
| 161 * src/dir-ecos.c: | |
| 162 * src/compr_zlib.c: | |
| 163 * src/compr_rubin.c: | |
| 164 * src/compr_rtime.c: | |
| 165 * src/compr.c: | |
| 166 * src/build.c: | |
| 167 * cdl/jffs2.cdl: Update to latest public JFFS2 codebase. | |
| 570 | 168 |
| 1373 | 169 * src/list.h: |
| 170 * src/jffs2_fs_sb.h: | |
| 171 * src/jffs2_fs_i.h: | |
| 172 * src/jffs2.h: | |
| 173 * src/jffs2.c: | |
| 174 * src/crc32.h: | |
| 175 * src/background.c: Removed/renamed file(s). | |
| 570 | 176 |
| 1373 | 177 * src/fs-ecos.c: |
| 178 * include/linux/jffs2_fs_sb.h: | |
| 179 * include/linux/jffs2_fs_i.h: | |
| 180 * include/linux/jffs2.h: New file(s). | |
| 570 | 181 |
| 561 | 182 2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch> |
| 183 | |
| 1373 | 184 * cdl/jffs2.cdl: Implements the CYGINT_IO_FILEIO_FS interface. |
| 561 | 185 |
|
368
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
186 2002-10-11 Andrew Lunn <andrew.lunn@ascom.ch> |
|
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
187 |
| 1373 | 188 * src/crc32.h (crc32): Use the CRC package for crc calculation |
| 189 * tests/romfileio1.c (main): Pass the name of the device to mount | |
|
368
0a770cfe2d39
* src/crc32.h (crc32): Use the CRC package for crc calculation
asl
parents:
210
diff
changeset
|
190 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
191 2002-05-20 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
192 |
| 1373 | 193 * src/LICENCE: New file. Contains license for JFFS2, now GPL+exception. |
| 194 * src/background.c: Point at LICENSE file instead of existing text. | |
| 195 * src/build.c: Ditto. | |
| 196 * src/compr.c: Ditto. | |
| 197 * src/compr_rtime.c: Ditto. | |
| 198 * src/compr_rubin.c: Ditto. | |
| 199 * src/compr_zlib.c: Ditto. | |
| 200 * src/dir-ecos.c: Ditto. | |
| 201 * src/erase.c: Ditto. | |
| 202 * src/file-ecos.c: Ditto. | |
| 203 * src/gc.c: Ditto. | |
| 204 * src/jffs2.h: Ditto. | |
| 205 * src/list.h: Ditto. | |
| 206 * src/malloc-ecos.c: Ditto. | |
| 207 * src/nodelist.c: Ditto. | |
| 208 * src/nodelist.h: Ditto. | |
| 209 * src/nodemgmt.c: Ditto. | |
| 210 * src/os-ecos.h: Ditto. | |
| 211 * src/pushpull.h: Ditto. | |
| 212 * src/read.c: Ditto. | |
| 213 * src/readinode.c: Ditto. | |
| 214 * src/scan.c: Ditto. | |
| 215 * src/write.c: Ditto. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
216 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
217 2002-01-28 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
218 |
| 1373 | 219 * src/super-ecos.c: Removed. |
| 220 * src/jffs2.c: Merge jffs2_write_super() and jffs2_put_super() into | |
| 221 the routines from which they were called, put jffs2_read_super() | |
| 222 in as a static function with a view to doing same RSN. | |
| 223 * src/jffs2port.h: Remove prototypes of functions that died. | |
| 224 * cdl/jffs2.cdl: Remove super-ecos.c | |
| 225 * src/dir-ecos.c src/write.c: Increase highest_version _before_ | |
| 226 assigning to new node, not after. | |
| 227 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
228 2002-01-27 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
229 |
| 1373 | 230 * src/read.c (jffs2_read_inode_range): Deal correctly with |
| 231 non-page-aligned read requests. We have to deal with the | |
| 232 case where we want to read from somewhere other than the | |
| 233 beginning of a frag. | |
| 234 * src/jffs2.c (jffs2_fo_read): Use jffs2_read_inode_range | |
| 235 instead of jffs2_readpage. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
236 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
237 2002-01-25 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
238 |
| 1373 | 239 * cdl/jffs2.cdl: We want CYGPKG_IO_FILEIO_INODE. |
| 240 * src/dir-ecos.c (jffs2_symlink): Remove. eCos doesn't support symlinks. | |
| 241 (jffs2_mknod): Similar. | |
| 242 (jffs2_mkdir): Don't call d_instantiate - its a nop. | |
| 243 (jffs2_rename): Ditto. | |
| 244 * src/file-ecos.c (jffs2_commit_write): Don't set blocks. | |
| 245 * src/jffs2.c (jffs2_flash_writev): Rewrite to only write aligned | |
| 246 quantities to flash. | |
| 247 * src/jffs2port.h: Lots of decrufting. | |
| 248 * src/os-ecos.h: Ditto (a bit). | |
| 249 * src/readinode.c (jffs2_read_inode): Don't set blocks/blksize in inode. | |
| 250 * src/write.c (jffs2_new_inode): Ditto when __ECOS. | |
| 251 (jffs2_write_dnode): don't call writev with extra vectors | |
| 252 unnecessarily. | |
| 253 * src/super-ecos.c (jffs2_statfs): Remove - unused. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
254 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
255 2002-01-25 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
256 |
| 1373 | 257 * src/super-ecos.c: Cruftectomy. |
| 258 * src/compr*.[ch] src/pushpull.h: Namespace cleanups merged from | |
| 259 mainstream sources. Bit push functions made inline. | |
| 260 * src/pushpull.c: Removed. | |
| 261 * cdl/jffs2.c: Remove reference to pushpull.c | |
| 262 * src/file-ecos.c: Cruftectomy. Lots of unused stuff here. | |
| 263 * src/jffs2.c src/jffs2port.h: Remove some functions from jffs2.c | |
| 264 which are no longer used, move some others to jffs2port.h as | |
| 265 inline functions so they don't pollute the namespace. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
266 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
267 2002-01-24 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
268 |
| 1373 | 269 * tests/fileio1.c: Check in listdir that the number of dirents is |
| 270 correct, taking into account existing files in case it's live. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
271 |
| 1373 | 272 * src/dir-ecos.c (jffs2_readdir): move to.... |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
273 |
| 1373 | 274 * src/jffs2.c (jffs2_fo_dirread): here. And fix the return code |
| 275 in the process so it now works. | |
| 276 (filldir): Make inline and simpler. | |
| 277 * src/jffs2port.h: remove filldir related stuff. | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
278 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
279 2002-01-24 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
280 |
| 1373 | 281 * src/dir-ecos.c: Cruftectomy. Remove most of the stuff that was |
| 282 commented out. Remove jffs2_do_{create,link,unlink} to write.c | |
| 283 * src/write.c: Add jffs2_do_{create,link,unlink} as in mainline. | |
| 284 * src/nodelist.h: Prototypes for the above. | |
| 285 * src/jffs2port.h: Don't include <pkgconf/kernel.h>. | |
| 286 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
287 2002-01-23 Jonathan Larmour <jlarmour@redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
288 |
| 1373 | 289 * src/jffs2.c (jffs2_mount): Allow multiple FSs, and integration |
| 290 with flash block device. | |
| 291 (jffs2_flash_read): Use flash block device. | |
| 292 (jffs2_flash_erase): Ditto. | |
| 293 (jffs2_flash_write): Ditto. | |
| 294 (do_flash_init): Remove - now done by block device layer | |
| 295 * src/list.h: Remove and reimplement from scratch to avoid GPL. | |
| 296 * src/os-ecos.h: Keep flash block dev handle in superblock. | |
| 297 eCos does support obsoleting as it isn't NAND only. | |
| 298 * src/dir-ecos.c (jffs2_readdir): Return correct value on success. | |
| 299 Merge in changes mutatis mutandis from between v1.49 and v1.51 of | |
| 300 dir.c in main repository. | |
| 301 * cdl/jffs2.cdl: CYGPKG_MEMALLOC more accurately CYGINT_ISO_MALLOC. | |
| 302 Only jffs2.c needs to be in libextras.a | |
| 303 Requires Flash block devices as an alternative for hardcoding | |
| 304 the sector size, flash size and base address. | |
| 305 * src/super-ecos.c (jffs2_read_super): Use flash block device for | |
| 306 sector and flash sizes. | |
| 307 * tests/fileio1.c: mount using block device (defined by CDL). | |
| 308 No need to init here - done by flash block device layer. | |
| 309 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
310 2002-01-21 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
311 |
| 1373 | 312 * src/read.c: Obtain inode lock around reading symlink target. |
| 313 * src/dir-ecos.c: Fix the long-standing up() without down() in | |
| 314 jffs2_readdir() when only the '.' and '..' entries are read, from | |
| 315 v1.52 of master dir.c. Merge copyright date change from v1.50 - note | |
| 316 that the portability cleanups from v1.51 aren't yet merged. | |
| 317 * src/os-ecos.h: Add jffs2_can_mark_obsolete() and the macros | |
| 318 for getting at generic inode fields from a struct jffs2_inode_info* | |
| 319 * src/nodemgmt.c: Remove an #ifndef __ECOS and use | |
| 320 jffs2_can_mark_obsolete() instead. | |
| 321 * src/jffs2port.h: up() is cyg_drv_mutex_unlock() not _release() | |
| 322 * src/gc.c: Merge portability cleanups - get rid of a lot of | |
| 323 references to 'struct inode'. Also include the attempt at NAND | |
| 324 support in jffs2_garbage_collect_deletion_dirent(). | |
| 325 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
326 2002-01-11 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
327 |
| 1373 | 328 * src/jffs2port.h: Switch semaphore emulation to cyg_drv_mutex_t, |
| 329 remove some kernel includes which seem gratuitous. | |
| 330 * cdl/jffs2.cdl: Require CYGPKG_MEMALLOC | |
| 331 * src/compr_zlib.c src/compr.c: Merge changes from mainline code | |
| 332 to make mkfs.jffs2 compile again. | |
| 333 | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
334 2002-01-10 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
335 |
| 1373 | 336 * src/jffs2.c: The 'mode' arg passed to jffs2_open() shouldn't |
| 337 have been called 'mode'. It's 'oflags'. You have to make up a | |
| 338 mode for the newly-created file yourself. | |
| 339 * src/nodelist.h src/read.c: Fix jffs2_getlink() so it takes | |
| 340 portable arguments, not a dentry. Move it to read.c and symlink.c | |
| 341 becomes obsolete. | |
| 342 * src/symlink-ecos.c: Removed. | |
| 343 * cdl/jffs2.cdl: Remove symlink-ecos.c | |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
344 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
345 2002-01-09 David Woodhouse <dwmw2@cambridge.redhat.com> |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
346 |
| 1373 | 347 * Import updated JFFS2 sources into eCos tree. |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
348 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
349 2000-08-28 Dominic Ostrowski (dominic.ostrowski@3glab.com) |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
350 |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
351 * started on port of JFFS2 using ramfs as a template |
| 1373 | 352 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
353 //=========================================================================== |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
354 //####ECOSGPLCOPYRIGHTBEGIN#### |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
355 // ------------------------------------------- |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
356 // This file is part of eCos, the Embedded Configurable Operating System. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
357 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
358 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
359 // eCos is free software; you can redistribute it and/or modify it under |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
360 // the terms of the GNU General Public License as published by the Free |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
361 // Software Foundation; either version 2 or (at your option) any later version. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
362 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
363 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
364 // WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
365 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
366 // for more details. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
367 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
368 // You should have received a copy of the GNU General Public License along |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
369 // with eCos; if not, write to the Free Software Foundation, Inc., |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
370 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
371 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
372 // As a special exception, if other files instantiate templates or use macros |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
373 // or inline functions from this file, or you compile this file and link it |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
374 // with other works to produce a work based on this file, this file does not |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
375 // by itself cause the resulting work to be covered by the GNU General Public |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
376 // License. However the source code for this file must still be made available |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
377 // in accordance with section (3) of the GNU General Public License. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
378 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
379 // This exception does not invalidate any other reasons why a work based on |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
380 // this file might be covered by the GNU General Public License. |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
381 // |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
382 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. |
|
210
d2c90368aeef
Merge from eCos master repository on 2002-05-23-21:39:14-BST
jlarmour
parents:
208
diff
changeset
|
383 // at http://sources.redhat.com/ecos/ecos-license/ |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
384 // ------------------------------------------- |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
385 //####ECOSGPLCOPYRIGHTEND#### |
|
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
386 //=========================================================================== |
| 1373 | 387 |
|
208
e0c0827131d1
Merge from eCos master repository on 2002-05-20-20:11:54-BST
jlarmour
parents:
diff
changeset
|
388 |
