Fork of e2fsprogs with inode table reallocator
 
 
 
 
 
 
Go to file
Eric Sandeen efe0b40146 libext2fs: make fs->group_desc opaque
To prevent direct array indexing of fs->group_desc[i] (because the
group_desc may be a different size for different filesystems) make it
an opaque pointer that may only be accessed through the accessor
functions in blknum.c.  The type itself is still available in a public
header; if we have a group_desc that we know is one type or another,
it's ok to access its fields directly.  This change only prevents us
from indexing off fs->group_desc[i] directly.

Old-style applications who don't want to change their source code can
(as a temporary short-term hack) #define EXT2FS_OLD_32_COMPAT before
including ext2fs.h.

Change the accessors in blknum.c to use ext4fs_group_desc(), a version
of ext2fs_group_desc() which returns a ext4_group_desc pointer.

This simplifies and collapses a fair bit of code in blknum.c

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-06-13 21:00:00 -04:00
config Update config.guess and config.sub to the latest (2009-04-17) version 2009-05-29 22:22:23 -04:00
contrib fallocate: Add truncate (-t) option 2010-03-22 22:03:53 -04:00
debian Update debian/changelog for v1.41.12-2 release 2010-06-03 13:02:15 -04:00
debugfs Merge branch 'maint' into next 2010-03-15 18:53:45 -04:00
doc Update release notes, version string, etc. for e2fsprogs 1.41.12 release 2010-05-17 23:54:49 -04:00
e2fsck e2fsck: Fix up to be 64-bit block number safe 2010-06-13 17:00:00 -04:00
ext2ed Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count() 2009-09-07 20:46:34 -04:00
include/nonunix Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
install-utils Remove Changelog files since they're not used after the git migration 2007-07-08 08:50:41 -04:00
intl Fix intl/ build: add E/Q/V macros, process intl/libgnuintl.h 2009-07-18 18:21:46 -04:00
lib libext2fs: make fs->group_desc opaque 2010-06-13 21:00:00 -04:00
misc e2image: Fix up to be 64-bit block number safe 2010-06-13 20:00:00 -04:00
po po: update zh_CN.po (from translationproject.org) 2010-06-07 12:25:11 -04:00
resize resize2fs: Fix up to be 64-bit block number safe 2010-06-13 18:00:00 -04:00
tests Merge branch 'maint' into next 2010-06-07 12:42:40 -04:00
util Add support for configure --enable-verbose-makecmds 2009-07-02 00:11:17 -04:00
.gitignore Update .gitignore 2009-10-24 14:28:23 -04:00
.hgignore Ignore quilt work files 2005-07-19 08:41:27 -05:00
.missing-copyright Many files: 1997-04-29 16:15:03 +00:00
.release-checklist Update release checklist to include reminder to update translation 2008-07-10 17:25:22 -04:00
ABOUT-NLS Update to gettext 0.11.5. We now enable NLS support by default. 2003-05-03 16:35:17 -04:00
COPYING Clarify the copyright licenses used by the various libraries in COPYING 2007-06-23 01:04:53 -04:00
INSTALL Add a comment in INSTALL regarding --disable-tls on older systems 2008-07-10 09:08:44 -04:00
INSTALL.elfbin ChangeLog, INSTALL.elfbin: 1999-01-02 04:15:29 +00:00
MCONFIG.in Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.in Fix dpkg-buildpackage -j2 2010-05-17 23:48:52 -04:00
README Update release notes, version string, etc. for e2fsprogs 1.41.12 release 2010-05-17 23:54:49 -04:00
README.subset Update release notes, version files for 1.40.4 release 2008-01-01 00:35:17 -05:00
RELEASE-NOTES Clean up "last commit" comment in RELEASE-NOTES 2010-05-18 00:14:21 -04:00
SHLIBS Many files: 1997-04-29 16:15:03 +00:00
SUBMITTING-PATCHES Added SUBMITTING-PATCHES file 2005-07-05 22:30:13 -05:00
TODO Update TODO to remove item which is already completed. 2006-05-13 09:28:04 -04:00
aclocal.m4 Enhance build system so that "make V=1" works like the Linux Kernel 2009-07-02 18:19:10 -04:00
configure Merge branch 'maint' into next 2010-06-07 12:42:40 -04:00
configure.in Merge branch 'maint' into next 2010-06-07 12:42:40 -04:00
depfix.sed Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
e2fsprogs.lsm Update release notes, version string, etc. for e2fsprogs 1.41.12 release 2010-05-17 23:54:49 -04:00
e2fsprogs.spec.in e2freefrag: New program which displays how fragmented the free space is 2009-07-22 03:40:58 -04:00
version.h Update release notes, version string, etc. for e2fsprogs 1.41.12 release 2010-05-17 23:54:49 -04:00
wordwrap.pl ChangeLog, wordwrap.pl: 2001-06-01 23:49:46 +00:00

README

	This is the new version (1.41.12) of the second extended file
system management programs.

	From time to time, I release new versions of e2fsprogs, to fix
bugs and to make the utilities more robust.  You can always find
information about the latest version at the the e2fsprogs web page,
which is:

	http://e2fsprogs.sourceforge.net

	The INSTALL file has instructions on building and installing
e2fsprogs.  Provisions for building Red Hat RPMs and Debian dpkg files
are supplied as well.

	In case of bugs in these programs, please contact Ted Ts'o at
tytso@mit.edu or tytso@alum.mit.edu.  See the e2fsck man page for
suggestions of what sort of information to include when submitting bug
reports for these programs.