annotate packages/fs/jffs2/current/ChangeLog @ 1777:c16341b1bac6 default tip

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