Whamcloud - gitweb
Many files:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 25 Oct 1997 04:16:53 +0000 (04:16 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 25 Oct 1997 04:16:53 +0000 (04:16 +0000)
commitc555aebde40afdc0d15d674f2c81c0e05cfded3f
treeedd6191c9ba2a2f26a4484a94baa89ff5ddde9ce
parentf13048113f09def05a024470bfeaf44635bf7e98
Many files:
  alloc.c (ext2fs_alloc_block): New function which allocates a
   block and updates the filesystem accounting records
   appropriately.
  ext2_err.et.in: Added new error codes: EXT2_NO_MEMORY,
   EXT2_INVALID_ARGUMENT, EXT2_BLOCK_ALLOC_FAIL, EXT2_INODE_ALLOC_FAIL,
   EXT2_NOT_DIRECTORY
  Change various library files to use these functions instead of EINVAL,
  ENOENT, etc.
ChangeLog, pass1.c, pass3.c:
  pass3.c (get_lost_and_found): Check error return of
   EXT2_FILE_NOT_FOUND instead of ENOTDIR
  pass1.c (pass1_check_directory): Return EXT2_NO_DIRECTORY instead of
   ENOTDIR
expect.icount:
  Change expected error string to be "Invalid argument passed to ext2 library"
  instead of just "Invalid argument"
42 files changed:
e2fsck/ChangeLog
e2fsck/pass1.c
e2fsck/pass3.c
lib/ext2fs/ChangeLog
lib/ext2fs/alloc.c
lib/ext2fs/alloc_tables.c
lib/ext2fs/badblocks.c
lib/ext2fs/bb_compat.c
lib/ext2fs/bb_inode.c
lib/ext2fs/bitmaps.c
lib/ext2fs/block.c
lib/ext2fs/bmove.c
lib/ext2fs/brel_ma.c
lib/ext2fs/closefs.c
lib/ext2fs/cmp_bitmaps.c
lib/ext2fs/dblist.c
lib/ext2fs/dblist_dir.c
lib/ext2fs/dir_iterate.c
lib/ext2fs/dirblock.c
lib/ext2fs/dupfs.c
lib/ext2fs/expanddir.c
lib/ext2fs/ext2fs.h
lib/ext2fs/get_pathname.c
lib/ext2fs/getsize.c
lib/ext2fs/icount.c
lib/ext2fs/initialize.c
lib/ext2fs/inode.c
lib/ext2fs/irel_ma.c
lib/ext2fs/ismounted.c
lib/ext2fs/llseek.c
lib/ext2fs/lookup.c
lib/ext2fs/mkdir.c
lib/ext2fs/namei.c
lib/ext2fs/newdir.c
lib/ext2fs/openfs.c
lib/ext2fs/rs_bitmap.c
lib/ext2fs/rw_bitmaps.c
lib/ext2fs/test_io.c
lib/ext2fs/unix_io.c
lib/ext2fs/valid_blk.c
lib/ext2fs/version.c
tests/progs/test_data/expect.icount