- 08 Sep, 2009 1 commit
-
-
Theodore Ts'o authored
Signed-off-by:
Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by:
Eric Sandeen <sandeen@redhat.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 05 Aug, 2009 1 commit
-
-
Valerie Aurora Henson authored
(Includes fixes from Nick Dokos) Signed-off-by:
Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by:
Nick Dokos <nicholas.dokos@hp.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 01 Jun, 2009 1 commit
-
-
Jose R. Santos authored
Add new ext2fs_block_alloc_stats2() routine that takes blk64_t as an input. Signed-off-by:
Jose R. Santos <jrs@us.ibm.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 22 Apr, 2009 1 commit
-
-
Theodore Ts'o authored
Fix gcc warnings caused by wrong types passed com_err() in ext2fs_inode_alloc_stats2 and in ext2fs_block_alloc_stats(). Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 22 Jan, 2009 1 commit
-
-
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:
"Theodore Ts'o" <tytso@mit.edu>
-
- 28 Aug, 2008 1 commit
-
-
Theodore Ts'o authored
Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 02 Jun, 2008 1 commit
-
-
Theodore Ts'o authored
Add callback functions for ext2fs_alloc_block() and ext2fs_block_alloc_stats(). This is needed so e2fsck can be informed when the extent_set_bmap() function needs to allocate or deallocate blocks. Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 21 Apr, 2008 1 commit
-
-
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:
"Theodore Ts'o" <tytso@mit.edu>
-
- 20 Mar, 2008 1 commit
-
-
Jose R. Santos authored
Signed-off-by:
Jose R. Santos <jrs@us.ibm.com> Signed-off-by:
Andreas Dilger <adilger@clusterfs.com> Signed-off-by:
"Theodore Ts'o" <tytso@mit.edu>
-
- 03 Feb, 2002 1 commit
-
-
Theodore Ts'o authored
directories in use in a bloock group.
-
- 03 Jan, 2002 1 commit
-
-
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.
-