]>
Commit | Line | Data |
---|---|---|
21c84b71 TT |
1 | Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu> |
2 | ||
3 | * Release of E2fsprogs version 1.07 | |
4 | ||
5 | Sun Mar 2 16:46:18 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
6 | ||
7 | * Makefile.in (ELF_VERSION): Change version to be 2.2 | |
8 | ||
9 | Tue Feb 11 14:54:02 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
10 | ||
11 | * alloc.c (ext2fs_get_free_blocks): Change routine to use | |
12 | ext2fs_fast_test_block_bitmap_range(). | |
13 | ||
14 | * bitops.h (ext2fs_fast_test_block_bitmap_range, | |
15 | ext2fs_test_block_bitmap_range: New inline functions which | |
16 | test to see whether a contiguous range of blocks is | |
17 | available. | |
18 | ||
19 | Thu Feb 6 10:00:13 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
20 | ||
21 | * badblocks.c (ext2fs_badblocks_list_create): Rename sybmols to use | |
22 | use ext2fs_badblocks_* instead of badblocks_* | |
23 | ||
24 | * bb_compat.c: New file which translates between old badblocks_*() | |
25 | names to ext2fs_badblocks_*() | |
26 | ||
27 | * unlink.c (ext2fs_unlink): New file, moved ext2fs_unlink() from | |
28 | link.c (since e2fsck doesn't use ext2fs_unlink()). | |
29 | ||
30 | * rs_bitmap.c (ext2fs_resize_generic_bitmap): New file, contains | |
31 | bitmap resizing routine moved from bitmaps.c, since e2fsck | |
32 | doesn't need to use this function. | |
33 | ||
34 | * lookup.c (ext2fs_lookup): Moved ext2fs_lookup to its own file, | |
35 | since e2fsck only needs ext2fs_lookup. | |
36 | ||
37 | Mon Feb 3 10:11:40 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
38 | ||
39 | * inode.c (ext2fs_open_inode_scan): Set fs->badblocks if it is not | |
40 | already set; this is needed so that programs like dump | |
41 | which use the inode scan functions will deal with | |
42 | filesystems that have bad blocks in the inode table. | |
43 | ||
44 | Sun Feb 2 00:17:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
45 | ||
46 | * ext2fs.h (struct_badblocks_list, struct_badblocks_iterate): | |
47 | Moved to ext2fsP.h, since it doesn't need to be part of | |
48 | the public interface. | |
49 | ||
50 | * dir_iterate.c: Move ext2_dir_iterate out of namei.c. | |
51 | ||
52 | Sat Feb 1 10:14:55 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
53 | ||
54 | * dblist.c (ext2fs_get_num_dirs): New file, which implements a | |
55 | directory block list abstraction. (Code moved from | |
56 | e2fsck). | |
57 | ||
58 | * ext2fs.h, inode.c: Moved definition of ext2_struct_inode_scan to | |
59 | to inode.c (since no one else should be peeking inside it!) | |
60 | ||
61 | * valid_blk.c (ext2_inode_has_valid_blocks): New function. | |
62 | ||
63 | * openfs.c (ext2fs_open): Check the feature set in the ext2 | |
64 | superblock, and refuse to open filesystems if they contain | |
65 | incompatible features. (Can be overriden with the | |
66 | EXT2_FLAG_FORCE | |
67 | ||
68 | Sun Jan 12 11:31:46 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
69 | ||
70 | * block.c (ext2fs_block_iterate2): Added new function | |
71 | ext2fs_block_iterate2 which changes the function | |
72 | signature of the callback function to include the | |
73 | referencing block and offset. | |
74 | ||
75 | * inode.c (ext2fs_inode_scan_goto_blockgroup): Added new function | |
76 | ext2fs_inode_scan_goto_blockgroup which allows an | |
77 | application to jump to a particular block group while | |
78 | doing an inode scan. | |
79 | ||
80 | Wed Jan 1 23:50:12 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
81 | ||
82 | * dirblock.c: Include string.h, since we use memcpy(). | |
83 | ||
84 | Tue Dec 3 12:27:29 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
85 | ||
86 | * getsize.c (ext2fs_get_device_size): The ioctl BLKGETSIZE returns | |
87 | a long not an int; this doesn't matter on i386 machines, | |
88 | but it does on Alpha's. | |
89 | ||
90 | Fri Nov 29 20:57:37 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
91 | ||
92 | * inode.c (ext2fs_write_inode, ext2fs_read_inode): If the inode | |
93 | table pointer is NULL, then return an error indicating | |
94 | that the inode table is missing. | |
95 | (get_next_blockgroup, get_next_blocks, | |
96 | ext2fs_get_next_inode): Don't treat a missing inode table | |
97 | as permanent error. Return MISSING_INODE_TABLE, but as an | |
98 | advisory error code, much like BAD_BLOCK_IN_INODE_TABLE. | |
99 | ||
100 | * rw_bitmaps.c (ext2fs_write_block_bitmap, | |
101 | ext2fs_write_inode_bitmap): If the inode or block bitmap | |
102 | block is zero, then don't write out the inode or block | |
103 | bitmap. The idea here is to avoid stomping on the | |
104 | superblock. | |
105 | (read_bitmaps): If the inode or block bitmap block is | |
106 | zero, then fill in that portion of the inode or block | |
107 | bitmap with all zeros. | |
108 | ||
109 | * inode.c (ext2fs_get_next_inode): Fix bug in handling of bad | |
110 | blocks in inode table when the inode table size is | |
111 | non-standard (and can therefore span blocks). | |
112 | ||
113 | Tue Oct 29 20:13:14 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
114 | ||
115 | * alloc.c (ext2fs_new_block): Fix fencepost error in | |
116 | ext2fs_new_block; make sure we don't try to allocate the | |
117 | first block beyond the end of the filesystem. | |
118 | ||
119 | Mon Oct 14 11:00:48 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
120 | ||
121 | * inode.c (check_for_inode_bad_blocks): New function called by | |
122 | get_next_blocks() to avoid reading in bad blocks marked in | |
123 | fs->badblocks. Inodes located in bad blocks are returned | |
124 | by ext2fs_get_next_inode() returns the error code | |
125 | EXT2_ET_BAD_BLOCK_IN_INODE_TABLE. | |
126 | ||
127 | * alloc_tables.c (ext2fs_allocate_tables): New function which | |
128 | performs the part of mke2fs's job of allocating the | |
129 | filesystem tables. | |
130 | ||
131 | * test_io.c (test_close): IO manager which is used for testing | |
132 | purposes. | |
133 | ||
134 | Sun Oct 13 04:31:57 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
135 | ||
136 | * inode.c (ext2fs_get_next_inode): Separate out the function of | |
137 | setting up for a new block group to get_next_blockgroup(). | |
138 | Separate out the function of reading in blocks of the | |
139 | inode table to get_next_blocks(). | |
140 | ||
141 | * ext2fs.h: Add the badblocks list to the ext2_filsys entry | |
142 | ||
143 | * badblocks.c (badblocks_list_add, badblocks_list_test): Add | |
144 | blocks to the badblock list in sorted order. This allows | |
145 | badblocks_list_test to be coded using a binary search for | |
146 | speed. | |
147 | ||
148 | Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
149 | ||
150 | * Release of E2fsprogs version 1.06 | |
151 | ||
5c576477 TT |
152 | Mon Oct 7 00:44:17 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
153 | ||
154 | * ext2fs.h, block.c, closefs.c, dirblock.c, inode.c, native.c, | |
155 | open.c: Change EXT2_SWAP to EXT2_FLAG_SWAP for | |
156 | consistency's sake. | |
157 | ||
158 | * closefs.c (ext2fs_flush): If the flag EXT2_MASTER_SB_ONLY is | |
159 | set, then only write out the master superblock. | |
160 | ||
161 | Sun Oct 6 21:45:26 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
162 | ||
163 | * block.c (ext2fs_block_iterate): Fixed bug which caused | |
164 | block_iterate to fail to handle HURD created filesystems; | |
165 | it tested the inode translator field before the inode was | |
166 | loaded. | |
167 | ||
168 | Tue Sep 17 14:08:24 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
169 | ||
170 | * initialize.c (ext2fs_initialize): Make sure the description for | |
171 | the inode bitmap is set correctly. | |
172 | ||
173 | * bitmaps.c (ext2fs_allocate_generic_bitmap): Fix minor type typo. | |
174 | ||
175 | Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
176 | ||
177 | * Release of E2fsprogs version 1.05 | |
178 | ||
1e3472c5 TT |
179 | Sat Sep 7 07:36:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
180 | ||
181 | * initialize.c: Override the kernel's idea of default | |
182 | checkinterval from 0 (never) to 180 days. | |
183 | ||
184 | Wed Aug 28 03:20:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
185 | ||
186 | * namei.c (ext2fs_namei_follow): New function which follows | |
187 | symbolic link (if any) at the target. | |
188 | ||
189 | Tue Aug 27 01:48:43 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
190 | ||
191 | * inode.c (ext2fs_read_inode, ext2fs_write_inode): Add support | |
192 | for shortcut function fs->read_inode() and fs->write_inode(). | |
193 | Added inode_cache to reduce CPU time spent in doing | |
194 | byte swapping. | |
195 | ||
196 | * swapfs.c (ext2fs_swap_super): Swap the new fields in a V2 | |
197 | superblock. | |
198 | ||
199 | * namei.c (ext2fs_follow_link): New function. | |
200 | (ext2fs_namei): Extended to have support for chasing | |
201 | symbolic links. ext2fs_namei() still returns an inode | |
202 | which is a symbolic link. Symbolic links are only chased | |
203 | while resolving the containing directory. To chase | |
204 | symbolic links of the final result, use | |
205 | ext2fs_follow_link(). | |
206 | ||
207 | Mon Aug 26 23:46:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
208 | ||
209 | * ext2_err.et.in: Added new error code EXT2_ET_SYMLINK_LOOP. | |
210 | ||
211 | * bitops.h (ext2fs_set_bit, ext2fs_celar_bit): Use asm inlines | |
212 | provided by Pete A. Zaitcev (zaitcev@lab.sun.mcst.ru). | |
213 | ||
214 | Thu Aug 22 00:40:18 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
215 | ||
216 | * initialize.c (ext2fs_initialize): On systems where the byte | |
217 | order is not i386 compatible, set the swap_byte flag. | |
218 | ||
219 | * inode.c (inocpy_with_swap): Check to see if inode contains a | |
220 | fast symlink before swapping the inode block fields. This | |
221 | required adding a new argument to inocpy_with_swap to | |
222 | determine whether the mode field is in host order or not. | |
223 | ||
224 | Wed Aug 21 00:45:42 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
225 | ||
226 | * bitops.h (ext2fs_set_bit, ext2fs_clear_bit, ext2fs_test_bit): On | |
227 | the sparc, if EXT2_STD_BITOPS set, use the standard | |
228 | i386-compatible bitmask operations, instead on the | |
229 | non-standard native bitmask operators. | |
230 | ||
231 | Fri Aug 9 11:11:35 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
232 | ||
233 | * block.c (ext2fs_block_iterate): Cause block iterator to return | |
234 | the HURD translator block (along with everything else). | |
235 | If the flag BLOCK_FLAG_DATA_ONLY is passed to the block | |
236 | iterator, then don't return any meta data blocks | |
237 | (including the HURD translator). | |
238 | ||
239 | Wed Jul 17 17:13:34 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
240 | ||
241 | * gen_uuid.c: New file, which generates DCE-compatible UUIDs. | |
242 | ||
243 | * uuid.c: New file, containing UUID utility functions. | |
244 | ||
245 | Tue Jul 16 10:19:16 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
246 | ||
247 | * ext2fs.h: Add a definition of the "real" ext2 superblock. | |
248 | ||
249 | Fri May 24 14:54:55 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
250 | ||
251 | * ext2fs.h: Fix erroneous ino_t type used in block_bitmap type. | |
252 | ||
253 | Sun May 19 15:39:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> | |
254 | ||
255 | * openfs.c (ext2fs_open): If the blocksize in the superblock is | |
256 | zero, return the error EXT2_ET_CORRUPT_SUPERBLOCK, since | |
257 | that's a basic value that must be correct for the rest of | |
258 | the library to work. | |
259 | ||
260 | * ext2_err.et.in (EXT2_ET_CORRUPT_SUPERBLOCK): Added new error | |
261 | code. | |
262 | ||
62c06f79 TT |
263 | Thu May 16 11:12:30 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> |
264 | ||
265 | * Release of E2fsprogs version 1.04 | |
266 | ||
7f88b043 TT |
267 | Wed Mar 27 00:33:40 1996 <tytso@rsts-11.mit.edu> |
268 | ||
269 | * Release of E2fsprogs version 1.03 | |
270 | ||
271 | Tue Mar 26 12:06:32 1996 <tytso@rsts-11.mit.edu> | |
272 | ||
273 | * bitops.h (ext2fs_set_bit, ext2fs_clear_bit, ext2fs_test_bit): | |
274 | Change the m68k bit numbering for bitmasks to match with | |
275 | the bit numbering used by all other ext2 implementations. | |
276 | ||
277 | Thu Mar 7 03:37:00 1996 <tytso@rsts-11.mit.edu> | |
278 | ||
279 | * inode.c (ext2fs_get_next_inode, ext2fs_close_inode_scan, | |
280 | ext2fs_open_inode_scan): Support dynamically-sized inodes. | |
281 | ||
282 | Wed Mar 6 12:26:29 1996 <tytso@rsts-11.mit.edu> | |
283 | ||
284 | * inode.c (ext2fs_read_inode, ext2fs_write_inode): Support | |
285 | dynamically-sized inodes. | |
286 | ||
287 | * openfs.c (ext2fs_open): Allow dynamic revision filesystem to be | |
288 | loaded. | |
289 | ||
290 | Tue Mar 5 03:49:37 1996 <tytso@rsts-11.mit.edu> | |
291 | ||
292 | * initialize.c (ext2fs_initialize): Catch an error condition where | |
293 | the passed in size is *really* too small. | |
294 | ||
295 | * alloc.c (ext2fs_new_inode): | |
296 | * ext2fs.h (EXT2_FIRST_INODE): Add support for dynamic revision to | |
297 | get first inode. | |
298 | ||
299 | Wed Feb 21 15:56:17 1996 <tytso@rsts-11.mit.edu> | |
300 | ||
301 | * getsize.c (ext2fs_get_device_size): Open the device read-only | |
302 | when trying to determine its size. | |
303 | ||
74becf3c TT |
304 | Wed Jan 31 11:06:08 1996 <tytso@rsts-11.mit.edu> |
305 | ||
306 | * Release of E2fsprogs version 1.02 | |
307 | ||
308 | Sat Dec 9 09:57:50 1995 <tytso@rsts-11.mit.edu> | |
309 | ||
310 | * rw_bitops.c (ext2fs_write_block_bitmap): | |
311 | * bitops.c (ext2fs_test_bit, ext2fs_clear_bit, ext2fs_set_bit): | |
312 | * bitops.h (ext2fs_test_bit, ext2fs_clear_bit, ext2fs_set_bit): | |
313 | Rename {test,set,clear}_bit to ext2fs_{test,set,clear}_bit, | |
314 | to avoid conflicts with with kernel include files. Also | |
315 | rename ADDR and CONST_ADDR to EXT2FS_ADDR and | |
316 | EXT2FS_CONST_ADDR. | |
317 | ||
50e1e10f TT |
318 | Thu Oct 26 12:09:16 1995 <tytso@rsts-11.mit.edu> |
319 | ||
320 | * ext2_err.et: Updated message in EXT2_ET_BASE to say version 0.5c | |
321 | ||
322 | * swapfs.c (ext2fs_swap_super): Put an #ifdef check around | |
323 | s_def_resuid and s_def_resgid for backwards compatibility. | |
324 | ||
325 | Fri Oct 20 23:33:31 1995 <tytso@rsts-11.mit.edu> | |
326 | ||
327 | * bitops.h: Added #ifdef's for Sparc. | |
328 | ||
329 | Wed Sep 6 22:14:46 1995 <tytso@rsts-11.mit.edu> | |
330 | ||
331 | * getsize.c: #include <sys/ioctl.h> under Linux to pick up ioctl() | |
332 | declaration | |
333 | ||
334 | * closefs.c: #include <string.h> to pick up memset() declaration | |
335 | ||
336 | Mon Sep 4 21:45:29 1995 Remy Card <card@bbj> | |
337 | ||
338 | * Makefile.in: Added support for BSD shared libraries. | |
339 | ||
340 | * initialize.c (ext2fs_initialize): Correctly set the s_creator_os | |
341 | flag. | |
342 | ||
343 | Mon Sep 4 09:55:30 1995 <tytso@rsts-11.mit.edu> | |
344 | ||
345 | * unix_io.c (unix_open): Add a double check; if the passed in name | |
346 | is NULL, return EXT2_ET_BAD_DEVICE_NAME. | |
347 | ||
348 | * ext2_err.et (EXT2_ET_BAD_DEVICE_NAME): Added new error code | |
349 | ||
350 | Wed Aug 16 15:44:10 1995 <tytso@rsts-11.mit.edu> | |
351 | ||
352 | * inode.c (ext2fs_check_directory): Use LINUX_S_ISDIR instead of | |
353 | S_ISDIR. | |
354 | ||
355 | Tue Aug 15 13:08:36 1995 <tytso@rsts-11.mit.edu> | |
356 | ||
357 | * getsize.c (ext2fs_get_device_size): Add support for reading the | |
358 | partition size from a BSD disk label. | |
359 | ||
360 | Thu Aug 10 09:33:26 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
361 | ||
362 | * getsize.c (ext2fs_get_device_size): New function that determins | |
363 | the size of a device. Used by mke2fs and e2fsck. | |
364 | ||
365 | Sat Aug 12 03:09:54 1995 Remy Card <card@bbj> | |
366 | ||
367 | * Makefile.in (install): Install static libraries in $(ulibdir) | |
368 | (/usr/lib on Linux) instead of $(libdir) (/lib on Linux). | |
369 | ||
370 | Wed Aug 9 17:04:23 1995 Theodore Y. Ts'o <tytso@dcl> | |
371 | ||
372 | * bitmaps.c (ext2fs_free_inode_bitmap, ext2fs_free_block_bitmap): | |
373 | Move these functions to freefs.c. | |
374 | ||
375 | * closefs.c (ext2fs_flush): If swapping blocks, clear the group | |
376 | descriptors shadow memory to keep purify quiet. (This | |
377 | also has the nice benefit that the unused portion of the | |
378 | shadow descriptors are zeroed out.) | |
379 | ||
380 | * dirblock.c (ext2fs_write_dir_block): We need to use | |
381 | dirent->rec_len *before* it's byteswapped to find the | |
382 | location of the next directory structure! | |
383 | ||
384 | * alloc.c (ext2fs_new_inode): Fix bug which could potentially | |
385 | cause ext2fs_new_inode to loop infinitely if we're trying | |
386 | to allocate an inode in group #0 and there are no free | |
387 | inodes at all in the system. | |
388 | ||
389 | * closefs.c: #include <errno.h> if it exists. | |
390 | ||
391 | Sun Aug 6 13:27:50 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
392 | ||
393 | * ext2fs.h (BLOCK_FLAG_HOLE): Added new definition for | |
394 | BLOCK_FLAG_APPEND. Added documentation for the block | |
395 | interator flags. | |
396 | ||
397 | Sat Aug 5 11:44:05 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
398 | ||
399 | * Makefile.in (DLL_INSTALL_DIR, ELF_INSTALL_DIR): Set the | |
400 | installation directories correctly. | |
401 | ||
402 | Tue Jul 18 09:27:38 1995 <tytso@rsx-11.mit.edu> | |
403 | ||
404 | * namei.c (process_dir_block): | |
405 | * mkdir.c (ext2fs_mkdir): | |
406 | * expanddir.c (expand_dir_proc): Use ext2fs_{read,write}_dir_block | |
407 | to read/write the directory block. | |
408 | ||
409 | * dirblock.c (ext2fs_read_dir_block), ext2fs_write_dir_block): New | |
410 | file containing functions for reading and writing | |
411 | directory blocks (byte swapping if necesssary) | |
412 | ||
413 | * block.c (block_iterate_ind, block_iterate_dind, | |
414 | block_iterate_tind): Byte swap the block addresses if | |
415 | EXT2_SWAP_BYTES is set (and swap them back before writing | |
416 | them out.) | |
417 | ||
418 | * inode.c (inocpy_with_swap): New function. | |
419 | (ext2fs_get_next_inode, ext2fs_read_inode, ext2fs_write_inode): | |
420 | Call inocpy_with_swap if EXT2_SWAP_BYTES if set. | |
421 | ||
422 | * closefs.c (ext2fs_flush): If EXT2_SWAP_BYTES is set, then swap | |
423 | the superblock and group descriptors before writing it out. | |
424 | ||
425 | * openfs.c (ext2fs_open): If the magic number is byte-swapped, | |
426 | then set the EXT2_SWAP_BYTES and byte-swap the superblock | |
427 | and group descriptors. | |
428 | ||
429 | * swapfs.c (ext2fs_swap_super, ext2fs_swap_group_desc): New functions | |
430 | to desp ext2 filesystem structures. | |
431 | ||
432 | * bitops.c (set_bit, clear_bit, test_bit): Use modifications | |
433 | supplied by Pete A. Zaitcev so that the C language | |
434 | versions of these functions are more portable. They will | |
435 | now work on both little and big endian systems, and the | |
436 | assumption that 32-bit integers are used is gone. | |
437 | ||
438 | * bitops.h (ext2_swab16, ext2_swab32): Added new functions for | |
439 | doing byte swapping. | |
440 | ||
441 | * ext2fs.h (EXT2_SWAP_BYTES): Add new flag which indicates that | |
442 | byte swapping should take place. | |
443 | ||
444 | Sun Jul 16 06:21:43 1995 <tytso@rsx-11.mit.edu> | |
445 | ||
446 | * Makefile.in, cmp_bitmaps.c (ext2fs_compare_block_bitmap_end, | |
447 | ext2fs_compare_inode_bitmap_end): Added new file | |
448 | containing routines to compare bitmaps. | |
449 | ||
450 | * ext2_err.et (EXT2_ET_NEQ_BLOCK_BITMAP, EXT2_ET_NEQ_INODE_BITMAP): | |
451 | Added new error codes. | |
452 | ||
453 | Sat Jul 15 04:23:37 1995 <tytso@rsx-11.mit.edu> | |
454 | ||
455 | * inode.c (ext2fs_get_next_inode): Don't check scan->inode_buffer; | |
456 | if the magic number is correct, it will be allocated. | |
457 | ||
458 | Fri Jul 14 19:02:59 1995 <tytso@rsx-11.mit.edu> | |
459 | ||
460 | * block.c (block_iterate_ind, block_iterate_dind, | |
461 | block_iterate_tind): Don't recompute block_nr each loop; | |
462 | just increment it! Factor check of BLOCK_FLAG_APPEND out | |
463 | of the loop. Factor mask of BLOCK_CHANGED into changed | |
464 | variable out of the loop. (block_iterate_ind, in | |
465 | particular, gets called a lot, so every little | |
466 | optimization helps.) | |
467 | ||
468 | Thu Jul 13 08:02:45 1995 <tytso@rsx-11.mit.edu> | |
469 | ||
470 | * block.c (block_iterate_ind, block_iterate_dind, | |
471 | block_iterate_tind): Precompute limit of loop to speed up | |
472 | block_iterate_ind and company. | |
473 | ||
474 | * bitops.h (ext2fs_fast_mark_block_bitmap, | |
475 | ext2fs_fast_unmark_block_bitmap, ext2fs_fast_test_block_bitmap, | |
476 | ext2fs_fast_mark_inode_bitmap, ext2fs_fast_unmark_inode_bitmap, | |
477 | ext2fs_fast_test_inode_bitmap): Add fast version of these | |
478 | functions, which don't do range checking. | |
479 | ||
480 | * bitops.h (ext2fs_get_block_bitmap_start, | |
481 | ext2fs_get_inode_bitmap_start, ext2fs_get_block_bitmap_end, | |
482 | ext2fs_get_inode_bitmap_end): Add new accessor functions | |
483 | which return the start and end points of the bitmaps. | |
484 | ||
485 | Tue Jul 11 18:59:41 1995 <tytso@rsx-11.mit.edu> | |
486 | ||
487 | * llseek.c (ext2_llseek): If the offset is small enough, use lseek | |
488 | instead of llseek. The errno if the offset is too large | |
489 | and lseek is not supported should be EINVAL, not -EINVAL. | |
490 | ||
491 | Thu Jun 15 23:43:02 1995 Remy Card <card@bbj> | |
492 | ||
493 | * Makefile.in: Added support for ELF shared libraries. | |
494 | Fixed typos in the compilation rules. | |
495 | (distclean): Added Makefile. | |
496 | ||
497 | * llseek.c (llseek): New function, if llseek() does not exist in the | |
498 | C library. | |
499 | (ext2_llseek): Changed to call llseek(). | |
500 | ||
501 | Mon Jun 12 08:29:07 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
502 | ||
503 | * ext2fs.h: Use __u32 to define blk_t, instead of unsigned long. | |
504 | ||
505 | Sun Jun 11 15:02:54 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
506 | ||
507 | * mkdir.c (ext2fs_mkdir): Use LINUX_S_IFDIR instead of S_IFDIR. | |
508 | ||
509 | * ext2fs.h (LINUX_S_IFDIR): Define a linux specific versions of | |
510 | the S_*, which are normally defined in <sys/stat.h>. This | |
511 | allows us to compile e2fsprogs on a non-Linux system, | |
512 | which may have a different value for S_IFDIR. | |
513 | ||
514 | Sat Jun 10 23:47:05 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu> | |
515 | ||
516 | * bitops.c (clear_bit, set_bit): Remove calls to cli() and sti(); | |
517 | this is a user-mode application! | |
518 | ||
519 | Thu Jun 8 13:13:22 1995 Miles Bader <miles@churchy.gnu.ai.mit.edu> | |
520 | ||
521 | * llseek.c: Put the include of <linux/unistd.h> inside the #ifdef | |
522 | __linux__ so that non-linux systems won't see it. | |
523 | ||
524 | * alloc.c: Include <errno.h> if possible. | |
525 | * badblocks.c: Ditto. | |
526 | * bb_inode.c: Ditto. | |
527 | * bitmaps.c: Ditto. | |
528 | * block.c: Ditto. | |
529 | * expanddir.c: Ditto. | |
530 | * get_pathname.c: Ditto. | |
531 | * initialize.c: Ditto. | |
532 | * inode.c: Ditto. | |
533 | * llseek.c: Ditto. | |
534 | * mkdir.c: Ditto. | |
535 | * namei.c: Ditto. | |
536 | * newdir.c: Ditto. | |
537 | * openfs.c: Ditto. | |
538 | * rw_bitmaps.c: Ditto. | |
539 | * unix_io.c: Ditto. | |
540 | ||
541 | * Makefile.in: Rewritten to conform to GNU coding standards and | |
542 | support separate compilation directories. | |
543 | ||
544 | Thu May 11 04:13:12 1995 <tytso@rsx-11.mit.edu> | |
545 | ||
546 | * initialize.c (ext2fs_initialize): Don't allow more than one | |
547 | bitmaps's worth of inodes in a group. | |
548 | ||
f3db3566 TT |
549 | Sat Mar 11 14:07:11 1995 Theodore Y. Ts'o <tytso@localhost> |
550 | ||
551 | * llseek.c (ext2_llseek): Added error checking to the llseek() | |
552 | compat code to protect against overflow. This only | |
553 | applies to 1.0 and early 1.1 kernels, which don't support | |
554 | the llseek() system call. | |
555 | ||
556 | Thu Nov 24 16:29:00 1994 Theodore Y. Ts'o (tytso@rt-11) | |
557 | ||
558 | * unix_io.c (unix_open): Initialize the read_error and write_error | |
559 | io_channel pointers to be null. | |
560 | ||
561 | * bb_inode.c (clear_bad_block_proc): If an illegal block number is | |
562 | found, clear it but don't try to update the filesystem | |
563 | accounting information, since that's hopeless anyway. | |
564 | ||
565 | * block.c (bloblock_iterate_ind, bloblock_iterate_dind, | |
566 | bloblock_iterate_tind): Check to see if the indirect blocks are | |
567 | valid before trying to read them. | |
568 | ||
569 | * ext2_err.et (EXT2_ET_BAD_IND_BLOCK, EX2_ET_BAD_DIND_BLOCK, | |
570 | EXT2_ET_BAD_TIND_BLOCK): Add new error codes. | |
571 | ||
572 | * bitops.h (ext2fs_mark_block_bitmap, ext2fs_unmark_block_bitmap, | |
573 | ext2fs_test_block_bitmap, ext2fs_mark_inode_bitmap, | |
574 | ext2fs_unmark_inode_bitmap, ext2fs_test_inode_bitmap): If an | |
575 | illegal block or inode number is passed in, return instead | |
576 | of trying to test, set, or clear the bit. | |
577 | ||
578 | Mon Nov 7 21:32:33 1994 Remy Card <card@bbj> | |
579 | ||
580 | * Makefile: Added a dummy install target in case shared libraries | |
581 | are not built. | |
582 | ||
583 | Mon Oct 24 14:11:44 1994 (tytso@rsx-11) | |
584 | ||
585 | * bitmaps.c (ext2fs_allocate_block_bitmap): Fix calculation of how | |
586 | the real last block of the bitmap should be calculated. | |
587 | ||
588 | Wed Sep 7 10:05:36 1994 (tytso@rsx-11) | |
589 | ||
590 | * bitmaps.c (ext2fs_fudge_inode_bitmap_end, | |
591 | ext2fs_fudge_block_bitmap_end, ext2fs_clear_inode_bitmap, | |
592 | ext2fs_clear_block_bitmap, ext2fs_free_inode_bitmap, | |
593 | ext2fs_free_block_bitmap): Add magic number checking for | |
594 | the inode and block bitmaps. | |
595 | ||
596 | * bitmaps.c (ext2fs_allocate_block_bitmap): Fix to set the correct | |
597 | magic number for a block bitmap instead of an inode bitmap. | |
598 | ||
599 | * inode.c (ext2fs_close_inode_scan, ext2fs_get_next_inode): Add | |
600 | magic number checking for the inode_scan structure. | |
601 | ||
602 | * badblocks.c (badblocks_list_free, badblocks_list_add, | |
603 | badblocks_list_test, badblocks_list_iterate_begin, | |
604 | badblocks_list_iterate, badblocks_list_iterate_end): Add | |
605 | magic number checking for the badblocks_list and | |
606 | badblocks_iterate structures. | |
607 | ||
608 | * ext2_err.et (EXT2_ET_MAGIC_UNIX_IO_CHANNEL): | |
609 | * unix_io.c (unix_open, unix_close, unix_set_blksize, unix_read_blk, | |
610 | unix_write_blk, unix_flush): Add magic number checking | |
611 | both for io_channel structure and unix_private_data | |
612 | structure. | |
613 | ||
614 | * openfs.c (ext2fs_open): Add check for io_manager structure's | |
615 | magic number. | |
616 | ||
617 | * rw_bitmaps.c (ext2fs_write_inode_bitmap, ext2fs_write_block_bitmap, | |
618 | ext2fs_read_inode_bitmap, ext2fs_read_block_bitmap, | |
619 | ext2fs_read_bitmaps, ext2fs_write_bitmaps): | |
620 | * read_bb.c (ext2fs_read_bb_inode): | |
621 | * read_bb_file.c (ext2fs_read_bb_FILE): | |
622 | * newdir.c (ext2fs_new_dir_block): | |
623 | * namei.c (ext2fs_dir_iterate, ext2fs_lookup, ext2fs_namei): | |
624 | * link.c (ext2fs_link, ext2fs_unlink): | |
625 | * inode.c (ext2fs_open_inode_scan, ext2fs_read_inode, | |
626 | ext2fs_write_inode, ext2fs_get_blocks, | |
627 | ext2fs_check_directory): | |
628 | * get_pathname.c (ext2fs_get_pathname): | |
629 | * expanddir.c (ext2fs_expand_dir): | |
630 | * block.c (ext2fs_block_iterate): | |
631 | * bitmaps.c (ext2fs_allocate_inode_bitmap, | |
632 | ext2fs_allocate_block_bitmap): | |
633 | * bb_inode.c (ext2fs_update_bb_inode): | |
634 | * alloc.c (ext2fs_new_inode,ext2fs_new_block,ext2fs_get_free_blocks): | |
635 | * check_desc.c (ext2fs_check_desc): | |
636 | * closefs.c (ext2fs_close, ext2fs_flush): | |
637 | * freefs.c (ext2fs_free): Add check for ext2_filsys magic number. | |
638 | ||
639 | * Makefile: | |
640 | * ext2fs.h: | |
641 | * openfs.c: | |
642 | * check_desc.c (ext2fs_check_desc): Move ext2fs_check_desc from | |
643 | openfs.c into its own file. | |
644 | ||
645 | * ext2fs.h (EXT2_CHECK_MAGIC): Added macro for checking for | |
646 | structure magic numbers. | |
647 | ||
648 | * closefs.c (ext2fs_flush): Folded in Remy Card's changes to clear | |
649 | the EXT2_VALID_FS flag in the backup superblock blocks, so that if | |
650 | someone uses the -b option to specify the use of the backup | |
651 | superblock --- this usually means that the main superblock is | |
652 | toast. :-) | |
653 | ||
654 | * ext2fs.h: | |
655 | * ext2_err.et (EXT2_ET_REV_TOO_HIGH): | |
656 | * openfs.c (ext2fs_open): Folded in Remy Card's changes to add a | |
657 | revision level to the superblock. | |
658 | ||
659 | Sun Aug 21 00:50:08 1994 Theodore Y. Ts'o (tytso@rt-11) | |
660 | ||
661 | * ext2fs.h: | |
662 | * bitmaps.c: | |
663 | * bitops.c | |
664 | * bitops.h: | |
665 | * openfs.c: | |
666 | * initialize.c: Completely revamped the inode and block bitmap | |
667 | structures, so that they can be better chance of being extensible | |
668 | in a shared library. They are now their own type, instead of | |
669 | being a char *. Also, the function signatures of | |
670 | ext2fs_test_block_bitmap, ext2fs_mark_block_bitmap, | |
671 | ext2fs_unmark_block_bitmap, ext2fs_test_inode_bitmap, | |
672 | ext2fs_mark_inode_bitmap, and ext2fs_unmark_inode_bitmap were | |
673 | changed to eliminate the ext2_filsys argument, since it is no | |
674 | longer necessary. | |
675 | ||
676 | Wed Aug 17 21:46:44 1994 Remy Card (card@bbj) | |
677 | ||
678 | * unix_io.c (unix_read_blk and unix_write_blk): use the llseek | |
679 | system call if available. | |
680 | ||
681 | * llseek.c: new file. This is the stub calling the llseek system | |
682 | call which allows supports for 2GB+ file systems. | |
683 | ||
684 | * initialize.c (ext2fs_initialize): Ext2fs_initialize now stores | |
685 | the creator operating system. | |
686 | ||
687 | Wed Aug 17 10:03:24 1994 Theodore Y. Ts'o (tytso@rt-11) | |
688 | ||
689 | * initialize.c (ext2fs_initialize): Ext2fs_initialize now sets up | |
690 | the group descriptor statistics in addition to everything else. | |
691 | This relieves mke2fs of the responsibility of doing it. | |
692 | ||
693 | * bitops.c, bitops.h: Add assembly inline functions for the 68000. | |
694 | Added a new #define, _EXT2_HAVE_ASM_BITOPS_ to control whether or | |
695 | not the generic C function equivalents should be included or not. | |
696 | ||
697 | * openfs.c (ext2fs_open): If a superblock is specified, then use | |
698 | the backup group descriptors that go along with this superblock, | |
699 | instead of using the primary group descriptors. This allows | |
700 | e2fsck to recover filesystems where the primary group descriptors | |
701 | have been trashed. | |
702 | ||
703 |