Commit Graph

89 Commits (cf554b133d09397ac4675507f04f3b596e2f5ea7)

Author SHA1 Message Date
Theodore Ts'o 519ee04308 rw_bitmaps.c:
Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
1997-10-20 00:52:43 +00:00
Theodore Ts'o d40259fd55 Many files:
Rename io.h to be ext2_io.h (avoid namespace collisions)
ChangeLog, resize2fs.h:
  Add #ifdef's for HAVE_SYS_TYPES_H and HAVE_SYS_TIME_H.
1997-10-20 00:44:26 +00:00
Theodore Ts'o e72fdc689b rs_bitmap.c:
Add #ifdefs for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
1997-10-20 00:33:00 +00:00
Theodore Ts'o 1d2ff46ae7 Many files:
Add #ifdef's for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
1997-10-19 23:00:21 +00:00
Theodore Ts'o 44339bdff8 Many files:
Use new substitution technology which doesn't depend on shell scripts.
  (Faster, and better for MS-DOS port!)
1997-10-15 02:47:20 +00:00
Theodore Ts'o d546447fda ChangeLog, gen_uuid.c:
Use clock_reg instead of clock, since clock conflicts with a header
  file declaration.
1997-10-15 01:52:44 +00:00
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 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 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 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 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 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 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 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 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 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 a29f4d30f2 Many files:
Checkin of e2fsprogs 1.10
1997-04-29 21:26:48 +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 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 5c576477cc Many files:
Checked in e2fsprogs 1.06
1997-04-29 15:29:49 +00:00
Theodore Ts'o 1e3472c5f3 Many files:
Checked in e2fsprogs 1.05
1997-04-29 14:53:37 +00:00
Theodore Ts'o 62c06f790c Many files:
Checked in e2fsprogs 1.04.
1997-04-29 14:34:47 +00:00
Theodore Ts'o 7f88b04341 Many files:
Checkin of e2fsprogs 1.03.
1997-04-26 14:48:50 +00:00
Theodore Ts'o 74becf3c0a Many files:
Checkin of e2fsprogs 1.02.
1997-04-26 14:37:06 +00:00
Theodore Ts'o 297f47a13e Many files:
Checked in e2fsprogs 1.01.
1997-04-26 14:25:20 +00:00
Theodore Ts'o a418d3ad81 Many files:
Checked in e2fsprogs 0.5c
1997-04-26 14:00:26 +00:00
Theodore Ts'o 50e1e10fa0 Many files:
Checked in e2fsprogs 0.5c
1997-04-26 13:58:21 +00:00
Theodore Ts'o f3db3566b5 Many files:
Checkin of e2fsprogs 0.5b
1997-04-26 13:34:30 +00:00
Theodore Ts'o 3839e65723 Many files:
Checkin of e2fsprogs 0.5b
1997-04-26 13:21:57 +00:00