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