1. 20 Mar, 2014 1 commit
  2. 06 Mar, 2014 2 commits
  3. 04 Mar, 2014 1 commit
  4. 04 Jan, 2014 1 commit
    • Bernhard Rosenkränzer's avatar
      Add files that would normally be generated by the e2fsprogs build system · 18a1444b
      Bernhard Rosenkränzer authored
      
      Android doesn't run ./configure and friends, so it has to rely on
      pre-populated versions of the autogenerated files.
      
      This is somewhat bogus (e.g. hardcoded little-endian reference in
      lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's
      what Android has always done, not a regression from the 1.41.14 branch.
      
      Also, don't #include config.h which we don't generate (we pass what it
      usually contains as -D parameters from Android.mk) anywhere.
      
      Add a new Android.mk file for the quota library.
      
      Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21
      Signed-off-by: default avatarBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
      18a1444b
  5. 15 Dec, 2011 1 commit
  6. 18 Sep, 2011 1 commit
    • Theodore Ts'o's avatar
      Shorten compile commands run by the build system · d1154eb4
      Theodore Ts'o authored
      
      The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
      this was starting to cause some tools heartburn.  It also made "make
      V=1" almost useless, since trying to following the individual commands
      run by make was lost in the noise of all of the defines.
      
      So fix this by putting the configure-generated defines in lib/config.h
      and the directory pathnames to lib/dirpaths.h.
      
      In addition, clean up some vestigal defines in configure.in and in the
      Makefiles to further shorten the cc command lines.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      d1154eb4
  7. 07 Jul, 2011 1 commit
  8. 18 May, 2010 1 commit
  9. 06 May, 2010 1 commit
  10. 26 Oct, 2009 2 commits
    • Valerie Aurora Henson's avatar
      Convert to use block group accessor functions · d7cca6b0
      Valerie Aurora Henson authored
      
      Convert direct accesses to use the following block group accessor
      functions: ext2fs_block_bitmap_loc(), ext2fs_inode_bitmap_loc(),
      ext2fs_inode_table_loc(), ext2fs_bg_itable_unused(),
      ext2fs_block_bitmap_loc_set(), ext2fs_inode_bitmap_loc_set(),
      ext2fs_inode_table_loc_set(), ext2fs_bg_free_inodes_count(),
      ext2fs_ext2fs_bg_used_dirs_count(), ext2fs_bg_free_inodes_count_set(),
      ext2fs_bg_free_blocks_count_set(), ext2fs_bg_used_dirs_count_set()
      Signed-off-by: default avatarValerie Aurora Henson <vaurora@redhat.com>
      Signed-off-by: default avatarNick Dokos <nicholas.dokos@hp.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      d7cca6b0
    • Eric Sandeen's avatar
      libext2fs: clean up ext2fs_bg_flags_ interfaces · e633b58a
      Eric Sandeen authored
      
      The ext2fs_bg_flag* functions were confusing.
      
      Currently we have this:
      
      void ext2fs_bg_flags_set(ext2_filsys fs, dgrp_t group, __u16 bg_flags);
      void ext2fs_bg_flags_clear(ext2_filsys fs, dgrp_t group,__u16 bg_flags);
      
      (_set (unused) sets exactly bg_flags; _clear clears all and ignores bg_flags)
      
      and these, which can twiddle individual bits in bg_flags:
      
      void ext2fs_bg_flag_set(ext2_filsys fs, dgrp_t group, __u16 bg_flag);
      void ext2fs_bg_flag_clear(ext2_filsys fs, dgrp_t group, __u16 bg_flag);
      
      A better interface, after the patch below, is just:
      
      ext2fs_bg_flags_zap(fs, group) /* zeros bg_flags */
      ext2fs_bg_flags_set(fs, group, flags) /* adds flags to bg_flags */
      ext2fs_bg_flags_clear(fs, group, flags) /* clears flags in bg_flags */
      
      and remove the original ext2fs_bg_flags_set / ext2fs_bg_flags_clear.
      Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      e633b58a
  11. 08 Sep, 2009 2 commits
  12. 05 Aug, 2009 1 commit
  13. 01 Jun, 2009 1 commit
  14. 22 Apr, 2009 1 commit
  15. 04 Mar, 2009 2 commits
  16. 22 Jan, 2009 1 commit
    • Theodore Ts'o's avatar
      libext2fs: Add sanity checks to ext2fs_{block,inode}_alloc_stats · cf4e06d6
      Theodore Ts'o authored
      
      If ext2fs_inode_alloc_stats2() or ext2fs_block_alloc_stats() is passed
      an insanely large inode or block number, it's possible for these
      functions to overrun an array boundary and cause the calling program
      to crash with a memory error.
      
      Detect this case, and since these functions don't return an error
      code, print a warning message, much like we do in ext2fs_warn_bitmap2().
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      cf4e06d6
  17. 18 Dec, 2008 1 commit
  18. 28 Aug, 2008 1 commit
  19. 02 Jun, 2008 1 commit
  20. 21 Apr, 2008 1 commit
    • Theodore Ts'o's avatar
      Transfer responsibility of setting the *_UNINIT flags to libext2fs · 5711ed29
      Theodore Ts'o authored
      
      Mke2fs used to have special case, ugly code in
      setup_lazy_bg/setup_uninit_bg flag which set the flags based on all
      sorts of special cases.  Change it so that it is done in libext2fs,
      and fix mke2fs to use alloc_stats functions which will take care of
      clearing the *_UNINIT flags automatically as needed.
      
      This is preparatory work to make the flex_bg allocation patch much
      cleaner.
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      5711ed29
  21. 20 Mar, 2008 1 commit
  22. 03 Feb, 2002 1 commit
  23. 03 Jan, 2002 1 commit
    • Theodore Ts'o's avatar
      dir_iterate.c (ext2fs_dir_iterate2, ext2fs_process_dir_block): · 8bd0c959
      Theodore Ts'o authored
      	Add support for a new flag, DIRENT_FLAG_INCLUDE_REMOVED,
      	which will return deleted directory entries.
      	ext2fs_dir_iterate2 takes a new callback function which
      	is identical with the one used by
      	ext2fs_dblist_dir_iterate().  If the directory entry is
      	deleted, the callback function will be called with the
      	entry paraemter set to DIRENT_DELETED_FILE.
      
      Makefile.in, alloc_stats.c (ext2fs_inode_alloc_stats,
      	ext2fs_block_alloc_stats): New functions which update
      	block/inode allocation statistics in the bitmaps, block
      	group descriptors, and superblock.
      
      mkjournal.c (mkjournal_proc), mkdir.c (ext2fs_mkdir),
      expanddir.c (expand_dir_proc), bb_inode.c
      	(clear_bad_block_proc, set_bad_block_proc,
      	ext2fs_update_bb_inode), alloc.c (ext2fs_alloc_block):
      	Update to use new block/inode allocation statistics.
      8bd0c959