Commit Graph

267 Commits (c54b3c3c99a5d3011f6f60934e90dae7f60b3b00)

Author SHA1 Message Date
Theodore Ts'o d163b09487 ChangeLog, bmove.c, icount.c, inode.c, llseek.c:
llseek.c (ext2fs_llseek): Fix type error for ext2fs_llseek()
  icount.c (ext2fs_icount_validate):
  bmove.c (process_block): Fix lint error in type for fprintf().
  inode.c (ext2fs_check_directory): Add support for the callback
  	to return the error code EXT2_ET_CALLBACK_NOTHANDLED.
ChangeLog, mke2fs.c:
  Make parse_raid_opts return a void, to fix a -Wall warning.
1997-10-03 17:42:28 +00:00
Theodore Ts'o 00e5433eb5 Many files:
Declare main() to return an int, as required.  Make sure main() always
  ends with an exit(0).  (Some programs weren't doing this, and thus
  were returning a random exit value.)
1997-09-16 02:13:52 +00:00
Theodore Ts'o a8859cad87 ChangeLog, debugfs.c:
Fix declaration of main so that it returns an int.
1997-09-16 02:08:28 +00:00
Theodore Ts'o fff876b7c7 ChangeLog, bitmaps.c, bitops.h:
ext2fs_set_bitmap_padding: New function which sets the padding of the
  	bitmap to be all one's.
1997-09-13 00:32:29 +00:00
Theodore Ts'o bc75f2a1eb ChangeLog, bmove.c, llseek.c:
llseek.c: Added missing semicolon to glibc fixup declaration of
  	llseek().
  bmove.c: Add #include of errno.h
ChangeLog, resize2fs.h:
  Add #include for errno.h
1997-09-04 00:43:10 +00:00
Theodore Ts'o e9affb7bec ChangeLog, Makefile.in, initialize.c, .del-io.h~72680822, openfs.c:
Makefile.in (ELF_SO_VERSION): Bump version to be 2.4 since we've added
  	a new field to the io_channel (app_data).
  io.h: Add a new element to the io_channel structure, app_data.
  initialize.c, openfs.c: Set io->app_data to point at the filesystem handle.
1997-08-24 02:57:55 +00:00
Theodore Ts'o 1c27cac2e8 ChangeLog, .del-io.h~72680822, irel_ma.c, llseek.c, rw_bitmaps.c:
io.h: Change the prototype of ext2fs_llseek() to use int's instead of
  	unsigned int's.
  llseek.c: Change to allow PIC and !HAVE_LLSEEK.  Add a prototype to
  	make life easer for GNU Libc 2.
  rw_bitmaps.c: On the PowerPC, the big-endian variant of the ext2
  	filesystem has its bitmaps stored as 32-bit words with bit 0 as the
  	LSB of each word.  Thus a bitmap with only bit 0 set would be, as a
  	string of bytes, 00 00 00 01 00 ...  To cope with this, we
  	byte-reverse each word of a bitmap if we have a big-endian filesystem,
  	that is, if we are *not* byte-swapping other word-sized numbers.
ChangeLog, expect.1, image.gz:
  f_badinode: Modify test to check for "bad" character and block devices
  	(i.e., ones which contain garbage block entries)
1997-08-14 17:20:42 +00:00
Theodore Ts'o 7cf73dcd3d ChangeLog, e2fsck.h, message.c, pass1.c, pass2.c, problem.c, problem.h:
message.c: Add compression for the word "Illegal"
  problem.c: Added entries for PR_2_BAD_CHAR_DEV and PR_2_BAD_BLOCK_DEV
  pass1.c (pass1, check_device_inode), pass2.c (process_bad_inode): Use
  	a more stringent test for a valid device.
ChangeLog, Makefile.in:
  Makefile.in (install): Fix rm command to use $(DESTDIR) appropriately.
1997-08-14 17:17:16 +00:00
Theodore Ts'o 3cb6c5021d Many files:
dosio.c: New file to do DOS/BIOS disk accesses.
  namei.c (open_namei): Make pathlen be of type size_t.
  llseek.c: Always #include stdlib.h since it's need to define
  	size_t.
  io.h: Use errcode_t for magic numbers.
  icount.c (get_icount_el), dupfs.c (ext2fs_dup_handle), dblist.c
  	(dir_block_cmp): Use size_t where appropriate.
  read_bb.c (ext2fs_read_bb_inode), cmp_bitmaps.c
  	(ext2fs_compare_inode_bitmap): Use blk_t, ino_t and size_t
  	where appropriate.
  closefs.c (ext2fs_flush): Use dgrp_t instead of int where
  	appropriate.
  openfs.c (ext2fs_open), check_desc.c (ext2fs_check_desc): Use blk_t
  	instead of int where 	appropriate.
  rw_bitmaps.c (read_bitmaps), irel_ma.c, inode.c (ext2fs_write_inode),
  	initialize.c (ext2fs_initialize): brel_ma.c: Fix to make be
  	16-bit safe.
  link.c (ext2fs_link), unlink.c (ext2fs_unlink), lookup.c (lookup_proc),
  	ismounted.c (ext2fs_check_if_mounted), block.c (xlate_func):
  	Add #pragma argsused for Turbo C.
1997-08-11 20:29:22 +00:00
Theodore Ts'o 4cbe8af4b0 Many files:
block.c (ext2fs_block_iterate2): Use retval which is a errcode_t type.
  bitmaps.c (make_bitmap): Use size_t instead of int where appropriate.
  bb_inode.c (set_bad_block_proc): Add #pragma argsused for Turbo C.
  alloc.c (ext2fs_new_inode): Use ino_t instead of int for the group number.
  get_pathname.c: Use ino_t instead of int where appropriate.
  ext2fs.h: Make the magic structure element be errcode_t instead of int.
  alloc.c alloc_tables.c badblocks.c bb_compat.c bb_inode.c
  	bitmaps.c block.c bmove.c brel_ma.c check_desc.c closefs.c
  	cmp_bitmaps.c dblist.c dblist_dir.c dir_iterate.c dirblock.c
  	dupfs.c expanddir.c freefs.c get_pathname.c icount.c
  	initialize.c inline.c inode.c irel_ma.c link.c llseek.c
  	lookup.c mkdir.c namei.c newdir.c read_bb.c read_bb_file.c
  	rs_bitmap.c rw_bitmaps.c swapfs.c test_io.c tst_badblocks.c
  	tst_iscan.c unix_io.c unlink.c valid_blk.c version.c: Add an
  	#ifdef for HAVE_UNISTD_H
1997-08-10 23:07:40 +00:00
Theodore Ts'o a47b66ee09 ChangeLog, error_message.c, error_table.h, et_name.c:
error_table.h:
  et_name.c (error_table_name):
  error_message.c (error_message.c): Make code be 16-bit safe.
ChangeLog, e2fsck.c:
  e2fsck.c (check_mount): Add stronger warning message about the perils
  	of running e2fsck on a mounted filesystem.
1997-08-10 23:02:21 +00:00
Theodore Ts'o ab6b8ab64d ChangeLog, Makefile.in, e2label.c:
e2label.c: New file contributed by Andries Brouwer which provides an
  easy-to-use interface to modify the filesystem label.
1997-07-14 19:28:55 +00:00
Theodore Ts'o a1230b1376 ChangeLog, ext2_err.et.in, unix_io.c:
unix_io.c (unix_read_blk): If ext2fs_llseek() fails, but errno is
  	zero, then return EXT2_IO_LLSEEK_FAILED.
  ext2_err.et.in: Add a new error code, EXT2_IO_LLSEEK_FAILED.
1997-07-02 02:41:59 +00:00
Theodore Ts'o 00cb1c0277 ADD TAG: E2FSPROGS-1_11 1997-06-17 05:50:14 +00:00
Theodore Ts'o 98b9fc698d resize2fs.h:
Remove unused ext2_brel field in the ext2_resize_struct structure.
1997-06-17 05:50:14 +00:00
Theodore Ts'o bc210074ea Makefile.in:
Performed a "make depend" for the upcoming release
Many files:
  Checkins for the 1.10 release.
1997-06-17 05:41:36 +00:00
Theodore Ts'o 024996cf0a ChangeLog:
Check-in for the 1.11 source release.
1997-06-17 05:38:35 +00:00
Theodore Ts'o 8e74e66983 Makefile.in, .del-e2fsprogs-1.11.spec~42cd069e, resize2fs.h:
Fix up for release
1997-06-17 05:36:04 +00:00
Theodore Ts'o e22d4616ef ChangeLog, mke2fs.c:
Adjust the number of columns printed when displaying the superblock
  backups to avoid running over 80 columns when making a really big
  disk.
1997-06-17 03:57:27 +00:00
Theodore Ts'o 549860c5c7 ChangeLog, dblist.c, ext2fs.h, jump.funcs:
Added new function which returns the number of directory blocks in
  dblist.
1997-06-17 03:55:00 +00:00
Theodore Ts'o c762c8e632 Many files:
Checkin of work to date.  (Pretty much completely working now.)
1997-06-17 03:52:12 +00:00
Theodore Ts'o 05e112a11b ChangeLog, Makefile.in, version.h:
Allow people to set the version.h to something like 1.10-PLUS.
.del-inodemap.c~24510e64, main.c, resize2fs.c, resize2fs.h:
  More interim work.  All is functioning except progress meter.
1997-06-14 07:28:44 +00:00
Theodore Ts'o 36f21439f5 ChangeLog, unix_io.c:
Make the io_channel flush function do a fsync to flush the kernel
  buffers to disk.
bmove.c, ext2fs.h:
  Added debugging flag to block move function.
1997-06-14 07:25:40 +00:00
Theodore Ts'o 052db4b76e Makefile.in, .del-inodemap.c~24510e64, main.c, resize2fs.c, resize2fs.h:
New snapshot (almost fully functional)
1997-06-12 07:14:32 +00:00
Theodore Ts'o da2e97f7cf ChangeLog, pass1.c, problem.c:
pass1.c (mark_table_blocks): Mark the superblock and group descriptor
  	blocks first, so that any conflicts between these and the bitmap or
  	inode table blocks is noticed.
  problem.c: Fix message printed out when a block or inode bitmap
  	conflicts with other fs data, has the correct group number in it.
1997-06-12 04:28:07 +00:00
Theodore Ts'o 9941fb73f5 ChangeLog, inode.c:
Fix bug; the current inode number wasn't being set by the
  goto_blockgroup function.
bmove.c, ext2fs.h:
  Added new argument to bmove, so that the caller can pass the
  allocation bitmap.  If not specified, the allocation bitmap defaults
  to fs->block_map.
1997-06-11 22:27:41 +00:00
Theodore Ts'o 7ac02a5ebd ChangeLog, pass2.c:
Check the error return from ext2fs_dblist_iterate.
1997-06-11 18:32:35 +00:00
Theodore Ts'o 1e1da29fbd Many files:
bmove.c (ext2fs_move_blocks): New function which takes a bitmap of
  	blocks which need to be moved, and moves those blocks to another
  	location in the filesystem.
  rs_bitmap.c (ext2fs_resize_generic_bitmap): When expanding a bitmap,
  	make sure all of the new parts of the bitmap are zero.
  bitmaps.c (ext2fs_copy_bitmap): Fix bug; the destination bitmap wasn't
  	being returned to the caller.
  alloc_tables.c (ext2fs_allocate_group_table): Add new function
  	ext2fs_allocate_group_table() which sets the group tables for a
  	particular block group.  The relevant code was factored out of
  	ext2fs_allocate_tables().
  dblist.c (make_dblist): Adjust the initial size of the directory block
  	list to be a bit more realize (ten plus twice the number of
  	directories in the filesystem).
  Check in interim work.
1997-06-09 14:51:29 +00:00
Theodore Ts'o 24b2c7a7a1 ChangeLog, Makefile.in, configure.in:
configure.in (rmakefile): Added (optional) private directory for resize2fs.
  Makefile.in: Change recursive descent rules to check to see if a
  	directory exists before trying to make it.
Many files:
  Initial checkin of work done to date.
1997-06-07 20:42:58 +00:00
Theodore Ts'o 5972d0d644 ChangeLog, Makefile.in:
Makefile.in (install): Install the ss_err.h header file out of the
  	build directory instead of the source directory (since it is a
  	constructed file).
1997-06-07 03:45:08 +00:00
Theodore Ts'o 583ccdc32d Many files:
Fix minor typos and grammer oops found by Bill Hawes (whawes@star.net).
1997-05-09 03:06:31 +00:00
Theodore Ts'o f635d7f65b ChangeLog, mke2fs.c, badblocks.c:
Pass the blocksize to the bad blocks command so that all of the
  filesystem gets tested in the case where the blocksize 2048 or 4096.
ChangeLog, badblocks.c:
  Fix bug where ext2fs_badblocks_list_test would test the list (and
  exceed array boundaries) if there were no bad blocks on the bad blocks
  list.  (Showed up when user tried: mke2fs -c -b 4096).
1997-05-09 02:50:16 +00:00
Theodore Ts'o 9559ea33eb ChangeLog, Makefile.in:
Fix up makefile to work in new CVS development environment.
1997-05-09 02:43:38 +00:00
Theodore Ts'o dc2b896092 ADD TAG: E2FSPROGS-1_10 1997-04-29 21:26:48 +00:00
Theodore Ts'o a29f4d30f2 Many files:
Checkin of e2fsprogs 1.10
1997-04-29 21:26:48 +00:00
Theodore Ts'o ae85148246 Many files:
Checked in e2fsprogs 1.10
1997-04-29 18:13:24 +00:00
Theodore Ts'o e1d2f77065 ADD TAG: E2FSPROGS-1_09 1997-04-29 17:57:00 +00:00
Theodore Ts'o 2ecc6fefa1 Many files:
Checked in e2fsprogs 1.09
1997-04-29 17:57:00 +00:00
Theodore Ts'o 521e368572 Many files:
Checked in e2fsprogs 1.08.
1997-04-29 17:48:10 +00:00
Theodore Ts'o 24757fa046 Many files:
Checked in e2fsprogs 1.08.
1997-04-29 17:39:27 +00:00
Theodore Ts'o 7fd86d2d5c Many files:
Files which shouldn't be here.
1997-04-29 17:32:42 +00:00
Theodore Ts'o af2cff663e Many files:
Checked in e2fsprogs-1.07
1997-04-29 16:17:16 +00:00
Theodore Ts'o e24b183b9f ADD TAG: E2FSPROGS-1_07 1997-04-29 16:17:09 +00:00
Theodore Ts'o 19c78dc07f Many files:
Checked in e2fsprogs-1.07
1997-04-29 16:17:09 +00:00
Theodore Ts'o 21c84b71e2 Many files:
Checked in e2fsprogs-1.07
1997-04-29 16:15:03 +00:00
Theodore Ts'o f45a038dbe ADD TAG: E2FSPROGS-1_06 1997-04-29 15:29:49 +00:00
Theodore Ts'o 5c576477cc Many files:
Checked in e2fsprogs 1.06
1997-04-29 15:29:49 +00:00
Theodore Ts'o ef42328871 ADD TAG: E2FSPROGS-1_05 1997-04-29 14:53:37 +00:00
Theodore Ts'o 1e3472c5f3 Many files:
Checked in e2fsprogs 1.05
1997-04-29 14:53:37 +00:00
Theodore Ts'o fc6d9d519a Many files:
Checked in e2fsprogs 1.05
1997-04-29 14:51:31 +00:00