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