Whamcloud - gitweb
Many files:
[tools/e2fsprogs.git] / lib / ext2fs / ChangeLog
index 5dd69c6..af3df72 100644 (file)
@@ -1,3 +1,360 @@
+2000-07-04  Theodore Ts'o  <tytso@valinux.com>
+
+       * dll/jump.funcs: Add new jumptable entries for
+               ext2fs_write_bb_FILE, ext2fs_read_bb_FILE2, and
+               ext2fs_badblocks_equal.
+
+       * tst_badblocks.c: Update test program to test
+               ext2fs_read_bb_FILE2 and ext2fs_write_FILE.
+
+       * write_bb_file.c (ext2fs_write_bb_FILE): New function which
+               writes out bad blocks list to a file.
+
+       * read_bb_file.c (ext2fs_read_bb_FILE2): Add new function which
+               changes the callback function to take two additional
+               arguments; a private blind pointer supplied by the caller,
+               and pointer to a char * containing a pointer to the
+               invalid string.
+
+       * badblocks.c (ext2fs_badblocks_equal): Add new function which
+               returns true if two badblocks list are equal.
+
+       * Makefile.in: Remove explicit link of -lc in the shared library.
+               (It shouldn't be necessary, and is harmful in some cases).
+
+2000-06-10  Theodore Ts'o  <tytso@valinux.com>
+
+       * getsize.c (main): Add debugging code under #ifdef DEBUG
+
+2000-05-27  Theodore Ts'o  <tytso@valinux.com>
+
+       * mkdir.c (ext2fs_mkdir): Read the parent directory's inode
+               earlier, so that if there's an error reading it, we can
+               more cleanly back out of the operation.
+
+2000-05-25    <tytso@snap.thunk.org>
+
+       * getsize.c (ext2fs_get_device_size): Use open64() instead of
+               open() if it exists.  Under linux, manually define the
+               ioctl for BLKGETSIZE if it isn't already defined and it's
+               safe to do so.
+
+       * unix_io.c (unix_open): Use open64() instead of open() if it
+               exists. 
+
+       * llseek.c: Simplify header includes of unistd.h.  If lseek64 is
+               available (and prototypes are defined) use it in
+               preference to llseek.
+
+       * Makefile: Add hack dependency rule so that parallel makes work
+               correctly. 
+
+2000-05-18  Theodore Ts'o  <tytso@valinux.com>
+
+       * ext2fs.h: Add appropriate ifdef's to support C++ compilation.
+
+2000-04-03  Theodore Ts'o  <tytso@valinux.com>
+
+       * block.c: Readibility tweak in conditionals involving
+               ctx->fs->flags.
+
+       * ext2fs.h: Use AUTOCONF SIZEOF_* macros if available to determine
+               how to define __s64 and __u64.  Turn off "compression is
+               experimental" warning if the cpp macro
+               I_KNOW_THAT_COMPRESSION_IS_EXPERIMENTAL is defined.
+
+2000-02-11    <tytso@snap.thunk.org>
+
+       * ext2fs.h: Define EXT2FS_COMPRESSED_BLKADDR and HOLE_BLKADDR.
+               Conditionally include Compression as a supported type if
+               ENABLE_COMPRESSION (via --enable-compression) is turned on.
+
+       * swapfs.c (ext2fs_swap_super): Swap the compression usage bitmap.
+
+2000-02-08    <tytso@snap.thunk.org>
+
+       * bitops.h (ext2fs_mark_generic_bitmap, ext2fs_unmark_generic_bitmap,
+               ext2fs_mark_block_bitmap, ext2fs_unmark_block_bitmap,
+               ext2fs_mark_inode_bitmap, ext2fs_unmark_inode_bitmap):
+               Change to return the previous state of the bit that is
+               being marked or unmarked.  For speed optimization.
+       
+2000-02-02  Theodore Ts'o  <tytso@valinux.com>
+
+       * getsize.c, ismounted.c: Remove unneeded include of linux/fs.h
+
+       * swapfs.c: Remove #ifdef HAVE_EXT2_INODE_VERSION since it's not
+               needed any more; we know it will always be i_generation.
+               Add support for swapping the high bits of the uid and gid.
+
+1999-11-19    <tytso@valinux.com>
+
+       * mkdir.c (ext2fs_mkdir): Only update the parent's inode link
+               counts if the link was successful.  Patch suggested by
+               jeremy@goop.org.
+
+       * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
+               the source directory.
+
+1999-11-10    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.18
+
+1999-11-08    <tytso@valinux.com>
+
+       * Makefile.in (tst_badblocks): Add freefs.o to the object list,
+               since ext2fs_badblocks_list_free was moved to freefs.c.
+
+       * tst_badblocks.c: Use the newer badblocks API names.  Add
+               duplicate blocks to the test inputs to test dealing with
+               adding blocks which are already in the badblocks list.
+
+       * badblocks.c (ext2fs_badblocks_list_add): If appending to the end
+               of the list, use a shortcut O(1) operations instead of an
+               O(n) operation.  (Idea suggested by David Beattie.)
+
+       * freefs.c (ext2fs_free): Use ext2fs_badblocks_list_free() instead
+               of badblocks_list_free(), to save a procedure call.
+
+1999-10-26    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.17
+
+1999-10-26    <tytso@valinux.com>
+
+       * ext2fs.h: Add kludge to deal with the fact that egcs cpp doesn't
+               seem to handle ~0UL the same way as they used to.
+
+1999-10-25    <tytso@valinux.com>
+
+       * nt_io.c (_OpenNtName): Open the device using
+               FILE_SYNCHRONOUS_IO_NONALERT instead of
+               FILE_SYNCHRONOUS_IO_ALERT
+               (nt_open): At the end of the device open routine, unlock 
+               the drive but do not dismount it.
+
+       * initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to
+               detect the Hurd OS.
+
+1999-10-22    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.16
+
+1999-10-22    <tytso@valinux.com>
+
+       * mkdir.c (ext2fs_mkdir): Pass EXT2_FT_DIR flag to ext2fs_link().
+
+       * link.c (ext2fs_link): This call now uses the low three bits of
+               the flags parameter to pass the directory filetype
+               information; it will set the directory entry FILETYPE
+               information if the filesystem supports it.
+
+       * newdir.c (ext2fs_new_dir_block): If the FILETYPE superblock
+               option is set, then create the '.' and '..' entries with
+               the filetype set to EXT2_FT_DIR.
+
+1999-09-24    <tytso@valinux.com>
+
+       * nt_io.c: New file which supports I/O under Windows NT.
+
+1999-09-07    <tytso@valinux.com>
+
+       * ext2fs.h: Add new fields for journalling and define new
+               feature bits used by newer filesystems: IMAGIC_INODES,
+               HAS_JOURNAL, RECOVER.
+
+       * expanddir.c (ext2fs_expand_dir, expand_dir_proc): Change where
+               we update the inode block count and size files so that the
+               block count field is updated correctly when we create an
+               indirect block.
+
+1999-07-18  Theodore Ts'o  <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.15
+
+1999-06-23    <tytso@valinux.com>
+
+       * swapfs.c (ext2fs_swap_inode): Add compatibility for Linux 2.3
+               kernels that use i_generation instead of i_version.  Patch
+               supplied by Jon Bright <sircus@sircus.demon.co.uk>.
+
+1999-06-21    <tytso@valinux.com>
+
+       * dir_iterate.c (ext2fs_process_dir_block): Check for corrupted
+               directory entry before calling the callback function.
+               This should prevent some core dumps of insufficiently
+               paranoid callback functions.
+
+1999-05-29    <tytso@rsts-11.mit.edu>
+
+       * ext2fs.h: Add feature definition for AFS IMAGIC inodes.
+
+       * fileio.c (ext2fs_file_open): Remove obsolete comment stating
+               that we don't handle writing yet (we do).  Fixed bug where
+               we weren't allocating a big enough buffer for ext2_bmap.
+
+1999-05-03    <tytso@rsts-11.mit.edu>
+
+       * openfs.c (ext2fs_open): Check to make sure that the number of
+               blocks per group is not zero --- if so, it must be a bad
+               superblock!
+
+1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Release of E2fsprogs 1.14
+
+1999-01-07  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * inode.c (ext2fs_read_inode, ext2fs_write_inode): Check to see if
+               the inode number is zero; if it's zero, return
+               EXT2_ET_BAD_INODE_NUM.
+
+1998-12-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * initialize.c (ext2fs_initialize): Use EXT2_FIRST_INODE instead
+               of EXT2_FIRST_INO to ensure compatibility with Linux 1.2
+               header files.
+
+Mon Jan  4 02:32:09 1999  Theodore Y. Ts'o  <tytso@mit.edu>
+
+       * llseek.c (ext2fs_llseek): Change ext2fs_llseek() in the
+               non-Linux case to use EINVAL by default, unless it isn't
+               defined, in which case we use EXT2_ET_INVALID_ARGUMENT
+               instead.
+
+1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Release of E2fsprogs 1.13
+
+1998-12-03  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Makefile.in: Updated dependencies.
+
+1998-09-22  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * initialize.c (ext2fs_initialize): Make sure that we allocate
+               enough inodes so that we can make a valid filesystem.
+
+1998-09-02  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * rw_bitmaps.c: Fixed signed/unsigned warnings.
+
+       * fileio.c (ext2fs_file_set_size): Remove unneeded extern from the
+               function declaration.
+
+       * dblist.c (make_dblist): Add safety check in case the dblist
+               pointer passed in is null (in which case, assign it to
+               fs->dblist).  Fixed some signed/unsigned warnings.
+
+       * bmap.c: Make addr_per_block be of type blk_t to avoid
+               signed/unsigned warnings.
+
+       * namei.c (ext2fs_follow_link): Remove uneeded extern from the
+               function declaration.
+
+       * get_pathname.c (get_pathname_proc): Use return value from
+               ext2fs_get_mem, instead of checking if &gp->name is
+               NULL.
+
+       * dir_iterate.c (ext2fs_process_dir_block): 
+       * dblist_dir.c (ext2fs_dblist_dir_iterate): Remove uneeded extern
+               from the function declaration.
+
+       * block.c (ext2fs_block_iterate2): If the read_inode call fails,
+               return the error directly instead of jumping to the
+               cleanup routine, since we don't need to do any cleanup.
+
+       * alloc_table.c (ext2fs_allocate_group_table): Make this
+               function take a dgrp_t for its group argument.
+
+       * ext2fs.h: Make dgrp_t an __u32 type, and make
+               fs->desc_group_count be of type dgrp_t.
+
+1998-07-27  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * badblocks.c (ext2fs_badblocks_list_add): Use a bigger increment
+               than 10 blocks when we need to expand the size of the
+               badblocks list.
+
+1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Release of E2fsprogs 1.12
+
+1998-06-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * closefs.c (ext2fs_flush): Update the s_block_group_nr field as
+               appropriate for all of the block group copies, so that
+               it's clear where the beginning of the filesystem is on the
+               disk.  (For when the partition table gets scrod.)
+
+       * ext2fs.h: Change the name of the feature from
+               EXT2_FEATURE_INCOMPAT_DIRNAME_SIZE to
+               EXT2_FEATURE_INCOMPAT_FILESIZE (to match with the kernel).
+
+1998-06-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * inode.c (get_next_blockgroup): Fix bug where if
+               get_next_blockgroup() is called early because of a missing
+               inode table in a block group, the current_inode counter
+               wasn't incremented correctly.
+
+1998-06-16  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * read_bb.c (ext2fs_read_bb_inode): Make function more robust
+               against a completely trashed bad block inode.
+
+1998-06-10  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * alloc_tables.c (ext2fs_allocate_group_table): Fix bug so that if
+               the stride length hits a bad value, we retry the block
+               allocation starting at the beginning of the block group.
+
+       * ext2fs.h, bb_inode.c, block.c, bmove.c, dir_iterate.c,
+               expanddir.c, ext2fsP.h, read_bb.c: Change blkcnt_t to be
+               e2_blkcnt_t to avoid collision with LFS API.
+
+1998-05-01  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * initialize.c (ext2fs_initialize): Initialize s_inodes_count in a
+               way that avoids overflows on disk sizes greater than 4GB.
+
+1998-04-28  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * ext2fs.h: Define EXT2_QSORT_TYPE appropriately for the
+               return type for comparison functions for qsort.
+
+       * dblist.c (dir_block_cmp): Use EXT2_QSORT_TYPE in function
+               declaration.
+
+1998-04-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * ext2fs.h, bitops.h: Add support for the Watcom C compiler to do
+               inline functions.
+
+       * ext2fs.h, dosio.c: Use asm/types.h instead of linux/types.h to
+               evade a potential problem with glibc's header files trying
+               to spike out linux/types.h.
+
+       * ext2fs.h (ext2fs_resize_mem): Change the function prototype to
+               include the old size of the memory, which is needed for
+               some braindamaged memory allocation systems that don't
+               support realloc().
+
+       * badblocks.c (ext2fs_badblocks_list_add):
+         bb_inode.c (clear_bad_block_proc):
+         dblist.c (ext2fs_add_dir_block):
+         icount.c (insert_icount_el):
+         irel_ma.c (ima_put):
+         rs_bitmap.c (ext2fs_resize_generic_bitmap): Update functions to
+                 pass the old size of the memory to be resized to
+                 ext2fs_resize_mem(). 
+
+1998-03-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * Makefile.in: Change to use new installation directory variables
+               convention.  Fix uninstall rules to take $(DESTDIR) into
+               account.
+
 1998-03-29  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * ext2fs.h: If __STRICT_ANSI__ is defined and we're on a platform