e0ed7404719a9ddd2ba427a80db5365c8bad18c0 |
|
20-Mar-2014 |
JP Abgrall <jpa@google.com> |
Switch back to 1.42.9 now that there is a fix Revert "Revert changes that moved from 1.41.14 to 1.42.9" This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/debugfs/htree.c
|
65f0aab98b20b5994a726ab90d355248bcddfffd |
|
06-Mar-2014 |
JP Abgrall <jpa@google.com> |
Revert changes that moved from 1.41.14 to 1.42.9 Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H" commit e80e74c41d85ff93f3d212ba6512340f48054a93. Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master" This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Revert "Prepare for upstream 1.42.9" This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df. Bug: 13340735 Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8 Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/debugfs/htree.c
|
18a1444b4f1e6a0948fd38fa0de382d86cfe04de |
|
31-Dec-2013 |
Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> |
Add files that would normally be generated by the e2fsprogs build system 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: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/external/e2fsprogs/debugfs/htree.c
|
e3507739e4185bdb2394928eb6479e48f4e690a8 |
|
01-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nits This fixes the last set of gcc -Wall complaints. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
e6575ce308da5218c271b9bb034aa73b5da834bf |
|
14-Oct-2012 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix htree command so that all printf's go through the pager The "Reading directory block XXX..." message was not being sent through the pager, which would result in confusing output. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
9c23b8961205f30d29c4137f4833f78cc48ce3fb |
|
20-Nov-2011 |
Darrick J. Wong <djwong@us.ibm.com> |
debugfs: fix sprintf stack overflow The htree dump code overflows a char buffer if the directory has a long filename because the buffer is not large enough to hold the characters that are not part of the filename. Make the buffer larger and use snprintf instead. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
d1154eb460efe588eaed3d439c1caaca149fa362 |
|
18-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
Shorten compile commands run by the build system 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: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
11ba79b3a67c864d23e04d1a2977b173f594bee9 |
|
16-Sep-2011 |
Eric Sandeen <sandeen@redhat.com> |
e2fsprogs: Remove impossible name_len tests. The name_len field in ext2_dir_entry is actually comprised of the name length in the lower 8 bytes, and the filetype in the high 8 bytes. So in places, we mask name_len with 0xFF to get the actual length. But once we have masked name_len with 0xFF, there is no point in testing whether it is greater than EXT2_NAME_LEN, which is 255 - or 0xFF. So all of these tests are extraneous. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
1ec5d104d7f8ac225a2d8576bfdc668f16acc280 |
|
11-May-2011 |
Eric Sandeen <sandeen@redhat.com> |
debugfs: remove unused htree_dump "-l" argument The long_opt / -l argument was apparently never implemented, so remove it and associated argument parsing. This slightly changes the (undocumented) behavior because it no longer defaults to cwd if no filespec is specified... Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
048786d7e87a6de698936b0cf25f1ab70d5c15bc |
|
08-Sep-2009 |
Valerie Aurora Henson <vaurora@redhat.com> |
debugfs: Convert to support 64-bit filesystems 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>
/external/e2fsprogs/debugfs/htree.c
|
24a117abd0340d247befbf7687ffb70547fdf218 |
|
08-Sep-2009 |
Valerie Aurora Henson <vaurora@redhat.com> |
Convert to use io_channel_read_blk64() and io_channel_write_blk64() Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
42080a8656895eddb0e054c3af86667a5a6aff9f |
|
12-Jul-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Fix miscellaneous gcc -Wall warnings Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
8a480350952f6f0fdbce54326b6d847e66368897 |
|
22-Jun-2009 |
Theodore Ts'o <tytso@mit.edu> |
Fix encoding for rec_len in directories for >= 64k blocksize file systems Previously e2fsprogs interpreted 0 for a rec_len of 65536 (which could occur if the directory block is completely empty in 64k blocksize filesystems), while the kernel interpreted 65535 to mean 65536. The kernel will accept both to mean 65536, and encodes 65535 to be 65536. This commit changes e2fsprogs to match. We add the encoding agreed upon for 128k and 256k filesystems, but we don't enable support for these larger block sizes, since they haven't been fully tested. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
2af6fe017a5a8edcb3707e6823a04406aa30adf4 |
|
22-Apr-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Fix format string warnings in htree_dump_leaf_node() Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
45e338f5332a54295893dba2e32cc093d1316f60 |
|
23-Feb-2009 |
Jim Meyering <jim@meyering.net> |
remove useless if-before-free tests In case you're wondering about whether this change is safe from a portability standpoint, fear not. This has been beaten to death in other forums. Here are a few threads: http://thread.gmane.org/gmane.comp.version-control.git/74187 http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/12712 http://thread.gmane.org/gmane.emacs.devel/98144 http://thread.gmane.org/gmane.comp.lib.glibc.alpha/13092 There has been debate about whether it's a good idea from a performance standpoint, too, but imho you'll have a hard time finding an instance where this sort of change induces a measurable performance penalty. If you do, please let me know. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
f8bd55160cde8a678a9ddbf69b7555504b253bef |
|
10-Sep-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Add the ability to specify the hash seed to the "hash" command Also add the ability to specify the hash algorithm by name instead of by number. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
efc6f628e15de95bcd13e4f0ee223cb42115d520 |
|
28-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
Remove trailing whitespace for the entire source tree Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
5dd77dbe5a0ac6d78c1c6441fae4087be56d9088 |
|
26-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
Add support for with empty directory blocks in 64k blocksize filesystems The rec_len field in the directory entry is 16 bits, so if the filesystem is completely empty, rec_len of 0 is used to designate 65536, for the case where the directory entry takes the entire 64k block. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
226515dfa921dfaa0145f358d0e457852dc3b493 |
|
08-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Fix htree command so it works with extent-based directories Also add support to dump out the minor hash value in addition to the major hash. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
43323be95742298b8229be728c3812e95c90629c |
|
07-Feb-2008 |
Theodore Ts'o <tytso@mit.edu> |
Use BLOCK_FLAG_READ_ONLY flag in debugfs, e2image, and tune2fs Pass BLOCK_FLAG_READ_ONLY to ext2fs_block_iterate2() so that debugfs, e2image, and tune2fs will work well with filesystems containing extents. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
de8f3a76218255e443ba57dec5d74850180fa75d |
|
25-May-2007 |
Andreas Dilger <adilger@clusterfs.com> |
Fix gcc -Wall warnings, especially on 64-bit systems Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
d904dd2ac0240c2a871ca742321c0ea65f493284 |
|
29-Mar-2007 |
Theodore Ts'o <tytso@mit.edu> |
[COVERITY] Fix coverity warning in debugfs This is a no-op since long_opt isn't currently being used; the -l option to htree_dump is currently unwired to anything at the moment. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Coverity ID: 47: Used before assigned
/external/e2fsprogs/debugfs/htree.c
|
89456558df36b22ca664ead88e768d6a486c7cef |
|
21-Mar-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Fix (error case) memory leak in debugfs Handle leaked cbuf due to early returns with a generic failure path. Coverity ID: 24: Resource Leak Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
b772900b4bcff407c883b7bd8419af56be0a9823 |
|
21-Mar-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Avoid static buffer overruns in debugfs Add an extra byte to EXT2_NAME_LEN in the static allocation for the required trailing null. This allows filenames up to the maximum length of EXT2_NAME_LEN withover an overrun. Coverity ID: 11: Overrun Static Coverity ID: 12: Overrun Static Coverity ID: 13: Overrun Static Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
f77704e416fca7dbe4cc91abba674d2ae3c14f6f |
|
12-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add directory hashed signed/unsigned hint to superblock The e2fsprogs and kernel implementation of directory hash tree has a bug which causes the implementation to be dependent on whether characters are signed or unsigned. Platforms such as the PowerPC, Arm, and S/390 have signed characters by default, which means that hash directories on those systems are incompatible with hash directories on other systems, such as the x86. To fix this we add a new flags field to the superblock, and define two new bits in that field to indicate whether or not the directory should be signed or unsigned. If the bits are not set, e2fsck and fixed kernels will set them to the signed/unsigned value of the currently running platform, and then respect those bits when calculating the directory hash. This allows compatibility with current filesystems, as well as allowing cross-architectural compatibility. Addresses Debian Bug: #389772 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
d0ff90d5202428583c78a60c3042e7b60d88bc45 |
|
12-Sep-2006 |
Eric Sandeen <esandeen@redhat.com> |
Fix signed vs unsigned printf format strings for block and inode numbers There were still some %d's lurking when we print blocks & inodes; also many of the counters in the e2fsck_struct were signed, and probably need to be unsigned to avoid overflows. Signed-off-by: Eric Sandeen <esandeen@redhat.com>
/external/e2fsprogs/debugfs/htree.c
|
49c6b4e9472f53c252126f1c9a5a6e9629967d1f |
|
28-Apr-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add handling for invalid option characters in debugfs subcommands Fix the debugfs commands htree_dump, dx_hash, and list_dir so they print a print a usage message when an illegal option character is given. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
8deb80a5d1078cbe43eaffcdeebf0a1a549d6a54 |
|
19-Mar-2006 |
Takashi Sato <sho@tnes.nec.co.jp> |
Fix format statements to make e2fsprogs programs 32-bit clean Change the format string(%d, %ld) for a block number and inode number to %u or %lu. Signed-off-by: Takashi Sato <sho@tnes.nec.co.jp> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/htree.c
|
544349270e4c74a6feb971123884a8cf5052a7ee |
|
07-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nitpicks
/external/e2fsprogs/debugfs/htree.c
|
88494bb6d440f703db98b6cc4452f63d7aa392b9 |
|
14-May-2003 |
Theodore Ts'o <tytso@mit.edu> |
util.c, ls.c, logdump.c, htree.c, dump.c, debugfs.h, debugfs.c, ChangeLog: util.c (reset_getopt), debugfs.c (do_open_filesys, do_show_super_stats), ls.c (do_list_dir), dump.c (do_dump), htree.c (do_htree_dump, do_dx_hash), logdump.c (do_logdump): Define and use a new function, reset_getopt(), which does whatever is necessary to reset getopt() again. This is different for different implementations, so the portabilty issues are a bit of a nightmare. (Addresses Debian bug #192834)
/external/e2fsprogs/debugfs/htree.c
|
ed78c021c3b111d8ab9a51aef5d5156e3004083f |
|
06-Mar-2003 |
Theodore Ts'o <tytso@mit.edu> |
Fix up lots of portability problems that caused e2fsprogs not to build successfully under Solaris.
/external/e2fsprogs/debugfs/htree.c
|
3e69906495d5898849a6154b0311b5d4a84a27ae |
|
14-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nits. Fix format bug if NLS is in use. Add extra so that the info directory looks OK on OpenWall.
/external/e2fsprogs/debugfs/htree.c
|
8132d840c8f6b0d90ab5048d6f8529f74e1aa0b3 |
|
03-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
Fix endian problems in the htree code for e2fsck and debugfs. When byte-swapping a filesystem on a PPC architecture, byte-swap the bitmaps since the historical big-endian ext2 variant had byte-swapped bitmaps, and the ext2fs library assumes this. Otherwise the regression test suite will fail...
/external/e2fsprogs/debugfs/htree.c
|
42e5b5f987ce869cb50e765bb985dddc5d70d753 |
|
22-Sep-2002 |
Theodore Ts'o <tytso@mit.edu> |
Flag continuation hashes in debugfs's htree command to make them easier to find.
/external/e2fsprogs/debugfs/htree.c
|
155f577b2b28a964f70d21634ff173705a76c7c3 |
|
21-Jul-2002 |
Theodore Ts'o <tytso@mit.edu> |
htree.c (do_htree_dump): Fix a bug where we were not cleanly closing the pager after errors, which would leave the tty in noecho mode.
/external/e2fsprogs/debugfs/htree.c
|
621732c956f8ff049d032354fc8d6eab9abab1f4 |
|
19-Jul-2002 |
Theodore Ts'o <tytso@mit.edu> |
htree.c (htree_dump_int_node): Add byte swapping code sot that the htree dump function works on a big-endian machine.
/external/e2fsprogs/debugfs/htree.c
|
503f9e7f6eb331c5b75d7f1ad126f71bcdcfb4e3 |
|
26-Jun-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add support for the half-MD4 HTREE hash. Add HTREE root node tests.
/external/e2fsprogs/debugfs/htree.c
|
52783e0ca72a80c549e9d266b3472f78fc61bdb2 |
|
11-Mar-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add new function to the libext2fs library, ext2fs_dirhash, which calculates the hash of a filename for indexed directories.
/external/e2fsprogs/debugfs/htree.c
|
df614db6ef79c767745b8154c26d69398b571605 |
|
25-Feb-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add initial support in debugfs for examining directory indexing information.
/external/e2fsprogs/debugfs/htree.c
|