]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/ext2fs.h
dir_iterate.c (ext2fs_dir_iterate2, ext2fs_process_dir_block):
authorTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2002 08:29:19 +0000 (03:29 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2002 08:29:19 +0000 (03:29 -0500)
commit8bd0c95908baa3af706b9e731daff9472bec74c9
treea98b28dc42ee8981ea33b057d63c277b96babe84
parent5493a27dc1138d2e30193b80217a0127d247af1e
dir_iterate.c (ext2fs_dir_iterate2, ext2fs_process_dir_block):
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.
12 files changed:
lib/ext2fs/ChangeLog
lib/ext2fs/Makefile.in
lib/ext2fs/alloc.c
lib/ext2fs/alloc_stats.c [new file with mode: 0644]
lib/ext2fs/bb_inode.c
lib/ext2fs/dblist_dir.c
lib/ext2fs/dir_iterate.c
lib/ext2fs/expanddir.c
lib/ext2fs/ext2fs.h
lib/ext2fs/ext2fsP.h
lib/ext2fs/mkdir.c
lib/ext2fs/mkjournal.c