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