95e97131a0e96ad2c30c67d1c167dc586619486b |
|
19-May-2017 |
Mike Frysinger <vapier@gentoo.org> |
include sys/sysmacros.h as needed The minor/major/makedev macros are not entirely standard. glibc has had the definitions in sys/sysmacros.h since the start, and wants to move away from always defining them implicitly via sys/types.h (as this pollutes the namespace in violation of POSIX). Other C libraries have already dropped them. Since the configure script already checks for this header, use that to pull in the header in files that use these macros. Change-Id: Ib7f441fe168c2ca72a274978fea422a0c3010e4f Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
22137497fa13c1e38fdae96f43eb827c0f46692b |
|
01-Sep-2016 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix typo when printing out the dtime label If the inode has extended timestamps, the dtime was printed with a label of "crtime". Fix this. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
b199291909e5951b74c9ad43163b5022a329dc26 |
|
01-Sep-2016 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add the debugfs copy_inode subcommand Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
c0495d96fd1f7015e7beb3d9363cbe949d133173 |
|
07-Jun-2016 |
Theodore Ts'o <tytso@mit.edu> |
Remove the last of behaviour-specific checks on EXT2_OS_LINUX If there is a feature check, we can just depend on the feature check. If it is something that can't be checked via a feature flag, then instead of checking for EXT2_OS_LINUX, we should instead check for *NOT* EXT2_OS_HURD. since HURD is the special case. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
1fc23b5e773a7a30130842a8091af546d5dd9875 |
|
16-Apr-2016 |
Theodore Ts'o <tytso@mit.edu> |
Fix support for configure --enable-jbd-debug We haven't used this in a while, so it's bitrotted a bit. Fix it up so that it works correctly. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
dcb8e1fa0452a3d31b678351c2297ad0255d3e4b |
|
07-Mar-2016 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
f3d9ac36a021aab3d84ef7759790839f9a65a1bf |
|
05-Mar-2016 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add support for the project id field Teach the stat and set_inode_field commands to support the project ID field. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2fe6136c48610791de8bb4c8fcad536292ffe36e |
|
06-Mar-2016 |
Andreas Dilger <adilger@dilger.ca> |
debugfs: improve dump_mmp handling If MMP is not enabled on a filesystem (s_mmp_block == 0), print this clearly rather than "MMP: block number beyond filesystem range". Add an option to "debugfs dump_mmp" to specify the MMP block number instead of getting it from the superblock s_mmp_block field. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
188960ea4b830ec69607aab3068537ce55f44be4 |
|
09-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add support to properly set and display extended timestamps This code is partially derived from patches from David Turner to allow debugfs to properly support extended timestamps. Cc: David Turner <novalis@novalis.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
4ee26699823c945b1894880f53cea3b45b5e3a20 |
|
24-Oct-2015 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: clean up feature test macros with predicate functions Create separate predicate functions to test/set/clear feature flags, thereby replacing the wordy old macros. Furthermore, clean out the places where we open-coded feature tests. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
df0b907ec1625b058814f42119c9a736f2c34c96 |
|
13-Jul-2015 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: cleanup gcc -Wall warnings Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
25f291c9b32d8017e6969c72a75e37d354c0570b |
|
13-Jul-2015 |
Theodore Ts'o <tytso@mit.edu> |
Eliminate unused parameter warnings from Android build Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
99ceb8ec1acd7f38da289966b9984b3ffa1914a9 |
|
13-Jul-2015 |
Theodore Ts'o <tytso@mit.edu> |
Move the check_plausibility() function from misc to lib/support The check_plausibility() function is now used all over the place, so we should move the plausible.c file to lib/support and remove the special case handling for that file that had been in the build system. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2f8c0d028cd8e3b24aaa357a796478c3435e21e4 |
|
11-Jun-2015 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: implement fallocate Implement a fallocate function for debugfs, and add some tests to demonstrate that it works (more or less). Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
b0851392244e2a87cad67739d86c7489d4db3222 |
|
17-May-2015 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: fix undo file setup Fix Coverity bugs 1297094-1297101 by fixing all the mutations in the *_setup_tdb() functions, fixing buffer overflows, and checking return values. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
491cc33ac6895d228b731e037b311e4314d72b88 |
|
05-May-2015 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: optionally create undo file Provide the user with an option to create an undo file so that they can roll back a failed debugfs expedition. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
9ed2c124f3245f48f45e52285c1e6dd55390d2a2 |
|
13-Oct-2014 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add allocate and set functionality to the bmap command This also makes it easier test the ext2fs_bmap2() function. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
c8b20b40ebf0278b2d100a964a32d8e13046f437 |
|
14-Sep-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: add plausibility checks to debugfs/tune2fs/dumpe2fs/e2fsck If any of these utilities detect a bad superblock magic, call check_plausibility to see if blkid can identify the passed-in argument as something else (xfs, partition, etc.) in the hopes of catching a user error. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
8a546777119c9c02f37fd1d8b0f2df8a142a2245 |
|
29-Aug-2014 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add better error checking when printing extended attributes Check to make sure the length of the name and value fields in the extended attribute don't result in overrun the bounds of the inode. Addresses-Coverity-Bug: #709517 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
c4c9bc590c4a1f21ec3053aacc232430493f10b0 |
|
24-Aug-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: fix gcc warnings Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
14207cf60e0f53b57ef8252a8ae3f6a124465b64 |
|
03-Aug-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: configure misc/Makefile.in
|
0befec4e24377e391dca2a3f9e6e163f18b132ce |
|
30-Jul-2014 |
Andreas Dilger <adilger@dilger.ca> |
misc: quiet signed/unsigned charactr compiler warnings Quiet warnings about signed vs. unsigned character mismatch. Use __u8 for storing UUIDs instead of char to match the superblock s_uuid field. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
97c607b1a25e1f4e83bf246c76b679d91470f5dc |
|
26-Jul-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
libext2fs: provide a function to set inode size Provide an API to set i_size in an inode and take care of all required feature flag modifications. Refactor the code to use this new function. [ Moved the function to lib/ext2fs/blk_num.c, which is the rest of these sorts of functions live, and renamed it to be ext2fs_inode_size_set() instead of ext2fs_inode_set_size() to be consistent with the other functions in in blk_num.c -- tytso ] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
50972e1f7dd33955d1f23de8123dae235a65af44 |
|
26-Jul-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: debugfs/debugfs.c e2fsck/pass5.c
|
8b90ab2b1cfa3974097b0466d8f7563323dda0c2 |
|
26-Jul-2014 |
Andreas Dilger <adilger@dilger.ca> |
build: fix unused/uninitialized variable warnings Fix a few warnings about unused and uninitialized variables. Also fix util/subst.c to include <sys/time.h> to avoid using undeclared functions gettimeofday() and futimes(). Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
7ba5cc744b842da7a7109fbf8f0c53dbc63bcae1 |
|
23-Jul-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: fix printing of inline data during symlink inode dump When we're dumping a fast symlink inode, we print some odd things to stdout. To clean this up, first don't print inline data EA, since the inode dump doesn't display file and directory contents. Then, teach the inode dump function how to print out either an inline data fast symlink or a non-inline data fast symlink. (This is a follow-up to the earlier patch "debugfs: Only print the first 60 bytes from i_block on a fast symlink") [ Modified by tytso so that the d_inline_dump test works when build directory is different from the source directory --- i.e., when doing a VPATH build. ] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
f9f3050a0ad9be1c37b00c8478199d286ddcaeda |
|
22-Jul-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: debian/changelog e2fsck/pass1.c lib/ext2fs/Makefile.in
|
e13ebfdd5f13876de1b978c8a5ed5a322ed7ba62 |
|
22-Jul-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: create inode_dump command to dump an inode in hex Create a command that will dump an entire inode's space in hex. [ Modified by tytso to add a description to the man page, and to add the more formal command name, inode_dump, in addition to short command name of "idump". ] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
7f7d1cb462789eef8e359caa46523ed6b99255e1 |
|
06-Jul-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: debugfs/set_fields.c tests/f_mmp/script tests/f_mmp_garbage/script tests/m_mmp/script tests/t_mmp_1on/script tests/t_mmp_2off/script
|
47fee2ef6a23ae06f680336ffde57caa64604a4c |
|
06-Jul-2014 |
Lukas Czerner <lczerner@redhat.com> |
e2fsprogs: introduce ext2fs_close_free() helper Currently there are many uses of ext2fs_close() which might be wrong. First of all ext2fs_close() does not set the ext2_filsys pointer to NULL so the caller is responsible for clearing it, however there are some cases there we do not do it. Second of all very small number of users of ext2fs_close() actually check the return value. If there is a problem in ext2fs_close() it will not even free the ext2_filsys structure, but majority of users expect it to do so. To fix both problems this commit introduces a new helper ext2fs_close_free() which will not only check for the return value and free the ext2_filsys structure if the call to ext2fs_close2() failed, but it will also set the ext2_filsys pointer to NULL. Replace every use of ext2fs_close() in e2fsprogs tools with ext2fs_close_free() - there is no real reason to keep using ext2fs_close(). Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
/external/e2fsprogs/debugfs/debugfs.c
|
328731738d88eb6c32c784e7aa7871e576e9e8a5 |
|
02-Jun-2014 |
Zheng Liu <wenqing.lz@taobao.com> |
debugfs: do not display fast symlink with inline data After enabling symlink with inline data, stat command in debugfs will think an inode is a fast symlink. This patch fixes this issue. Cc: Ian Nartowicz <claws@nartowicz.co.uk> Cc: Tao Ma <tm@tao.ma> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Cc: Andreas Dilger <adilger.kernel@dilger.ca> Cc: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
9d8cd8c461136d2a2c4bf0879a792c227665b31c |
|
21-May-2014 |
Andreas Dilger <adilger@dilger.ca> |
debugfs: fix filehandle leak in copy_file() Fix a file handle leak for the target file in copy_file() when error handlers return without closing the file. Instead, clean up at the end of the function to handle cleanup in normal and error cases. Minor other code style cleanups. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
ba08cb996a10a8f5e72625ed054cb029571d84e0 |
|
13-May-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: debugfs/Makefile.in debugfs/debug_cmds.ct debugfs/debugfs.c debugfs/debugfs.h e2fsck/Makefile.in misc/Makefile.in misc/mke2fs.c
|
75fc42f1a1fa98a722540e6a2761be17126dd080 |
|
11-May-2014 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add commands to query the quota information This allows us to verify quota information in an ext4 file systems with the quota feature. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Aditya Kali <adityakali@google.com>
/external/e2fsprogs/debugfs/debugfs.c
|
8a6cc1aebd7e9b2e6d6624fa1f8539888da25fe4 |
|
14-Mar-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: fix header complaints and resource leaks in e2fsprogs Fix a few minor bugs that cppcheck complained about. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
24997f1cd2b3c3ea7a5a2c7fe37013de36a6d8a3 |
|
14-Mar-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
misc: cppcheck cleanups Fix a number of things that cppcheck complains about. Most of these are minor resource leaks and forgotten declarations. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
227239b10b93bb51b6d8fc4023af77a94cdd7775 |
|
12-Mar-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: create commands to edit extended attributes Enhance debugfs to be able to display and modify extended attributes, and create some simple tests for the extended attribute editing functions. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2ddcee17711b37fe9fca7d2350f275789a014f86 |
|
12-Mar-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs, libext2fs: minor fixups to xattr support Add magic number checking to the extended attribute editing handle; move inline data to the head of the attribute list when writing so that inline data ends up in the inode area; and always zero the attribute space before writing to ensure that we can delete the last xattr. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a3111e80b82d28e2ad5c8ad74bc4acecf559d1d4 |
|
11-Mar-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
create_inode: move debugfs internal state back to debugfs Since create_inode.c is shared between debugfs and mke2fs, don't spread debugfs internal state into mke2fs. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d23b1965f35a5ecf239b080f8de68e4bed66b0e4 |
|
06-Mar-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'ry/mke2fs-populate' into next Conflicts: debugfs/debugfs.c
|
9aa3aa8dae4781b7d03c4d086fc3d27fb3fd2351 |
|
06-Mar-2014 |
Robert Yang <liezhi.yang@windriver.com> |
debugfs: use the functions in misc/create_inode.c * Use the functions in misc/create_inode.c, and remove the duplicated code. * The CREATE_INODE_DEPS in the debugfs/Makefile.in is used for recording create_inode.o's depends which is from misc/Makefile.in, we have to recompile create_inode.o because we need it to print more messages when it is used by debugfs, just like we recompile e2freefrag.o, but it seems that the e2freefrag.o's depends in debugfs/Makefile.in is incorrect, it would not rebuild when its depends (e.g.: lib/config.h) is changed, which would cause unexpected errors. Make duplicated code in debugfs/Makefile.in and misc/Makefile.in is not a good idea, maybe we'd better define CREATE_INODE_DEPS in the top Makefile, I'd like to send another patch and fix the e2freefrag if you are fine with it. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Reviewed-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
54e880b870f7fe98a6ea23013c18e2a71e28c01c |
|
03-Mar-2014 |
Zheng Liu <wenqing.lz@taobao.com> |
libext2fs: handle inline data in read/write function Currently ext2fs_file_read/write are used to copy data from/to a file. But they manipulate data by blocksize. For supporting inline data, we handle it in two new fucntions called ext2fs_file_read/write_inline_data. In read path the implementation is straightforward. But in write path things get more complicated because if the size of data is greater than the maximum size of inline data we will expand this file. So now we will check this in ext2fs_inline_data_set. If this inode doesn't have enough space, it will return EXT2_ET_INLINE_DATA_NO_SPACE error. Then the caller will check this error and tries to expand the file. The following commands in debugfs can handle inline_data feature after applying this patch: - dump - cat - rdump - write Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
133e94627b01823d2555450ddd1d95401ff2227a |
|
03-Mar-2014 |
Zheng Liu <wenqing.lz@taobao.com> |
debugfs: make stat command support inline data If there is an inode with inline data, we just print the size of inline data in stat command. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
716a3c3536f87372ce16b5b678b9957dabf6d638 |
|
03-Mar-2014 |
Zheng Liu <wenqing.lz@taobao.com> |
libext2fs: handle inline_data in block iterator function After applied this commit (a7f4c635), we have banned to traverse blocks for an inode which has inline data because no block belongs to it. But before calling this function, we need to check inline data flag. This commit add a sanity check ext2fs_inode_has_valid_blocks2() to fix them except that ext2fs_expand_dir because it will be fixed by another patch. Meanwhile in this commit it fixes a bug that when we kill a file we could leak an inode. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
5beff1c0cfaf59a80bbd86a4b1436b39133b2abf |
|
23-Feb-2014 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: dump all extended attributes Use the new extended attribute APIs to display all extended attributes (current code does not look in the EA block) and display full names (current code ignores name index too). Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
bc82f39437922f50d5f2846656458e50d65d2dc4 |
|
09-Jan-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: e2fsck/pass1.c lib/ext2fs/csum.c
|
b220a336d59f917978b6bf9b5fcf8a996647173f |
|
07-Jan-2014 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: remove dead code Addresses-Coverity-Id: #1138573 Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d2dce124dd47447cb0849b49feb499f02250826e |
|
06-Jan-2014 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: debian/changelog e2fsck/Makefile.in
|
a25fffae5cbdb9349fa3c358c9714584e9de7b33 |
|
30-Dec-2013 |
Eric Whitney <enwlinux@gmail.com> |
debugfs: restore and tweak original error messaging In response to reviewer comments, commit fe56188b07 included changes that modified some of the code used to output error messages when checking user-supplied block numbers. These changes converted calls to parse_ulonglong() to calls to strtoblk(). Because strtoblk() calls parse_ulonglong(), and both output error messages, two redundant and relatively generic messages were output on each error. Fix this by removing the error message output from strtoblk(), and extending it to accept an optional error message argument that it supplies in lieu of a default to parse_ulonglong(). Also, revert to the more descriptive original error messages with mods per reviewer comments, and fix an error message in do_replace_node(). Signed-off-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2ffccc82c4b9ed935e45118e325896b70e9e3eb0 |
|
26-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: lib/ext2fs/csum.c
|
45f143c20cb415cb205e7415b563ef66efa9591e |
|
25-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix extent header in do_write for big-endian machines Commit a17e9f30 set up the extent header for a new file. Unfortunately it didn't correctly handle byte swapping; fix this so the regression tests pass on PowerPC systems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Eric Sandeen <sandeen@redhat.com>
/external/e2fsprogs/debugfs/debugfs.c
|
32541fe4f90e59597f7721967153e9641c5f8dce |
|
24-Dec-2013 |
Eric Whitney <enwlinux@gmail.com> |
debugfs: silence build warning and remove incorrect error message Commit fe56188b07 modified the code used to check the block number argument to the command line -s switch, adding a call to com_err(). This causes a compile time warning because the third argument to com_err() isn't a string. Also, when the block number argument is bad it outputs an incorrect error message - "Operation not permitted". Fix these minor problems by removing the call to com_err(). Other code provides enough error reporting information in this case. Signed-off-by: Eric Whitney <enwlinux@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2d3df8dc7f5f6970e77ed741e35c88408741a136 |
|
12-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: lib/ext2fs/newdir.c
|
fe56188b07668758c28912b6eaf31abb498a9e82 |
|
12-Dec-2013 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: handle 64bit block numbers debugfs should use strtoull wrappers for reading block numbers from the command line. "unsigned long" isn't wide enough to handle block numbers on 32bit platforms. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
50295a3f9e40894316301bebcc7247e9ec85f506 |
|
12-Dec-2013 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: fix various minor bogosity We should really use the ext2fs memory allocator functions in copy_file(), and we really should return a value if there's allocation problems. Also fix up a minor bogosity in an error message. Reviewed-by: Zheng Liu <wenqing.lz@taobao.com> Cc: Robert Yang <liezhi.yang@windriver.com> Cc: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
57d4fb66d237fd8b734d2aa6b13502fac9c6e5a3 |
|
12-Dec-2013 |
Darrick J. Wong <darrick.wong@oracle.com> |
debugfs: fix init_filesys help text The help text for debugfs' init_filesys command is incorrect; the second parameter is the size of the filesystem in blocks, not the size of an individual filesystem block. There is in fact no way to set that parameter. Reported-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
1b977a0fad7be60d444228b5802683ff6b78baf2 |
|
09-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
5093775ab446d375ea753218c364be31cf82f3cc |
|
09-Dec-2013 |
Zheng Liu <wenqing.lz@taobao.com> |
debugfs: update usage message for open and filefrag The ussage message for the open and filefrag commands were missing options; this commit fixes this. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a9b23fc99da8c8918cb5fb8dcd1732edb70ad382 |
|
05-Dec-2013 |
Lev Solomonov <solo@primarydata.com> |
debugfs: fix range mode of freei commit 2ae5d1fdb82b31bf270c4699c59a087c846db2f0 was supposed to teach 'seti' and 'freei' to act on a range of consecutive inodes. apparently only 'seti' has learned: 'freei' doesn't advance the ino, repeatedly acting on the same one instead. Signed-off-by: Lev Solomonov <solo@primarydata.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
ef429f5968b12d180761bfdbf7061acf6a442d59 |
|
04-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
2fe2d408a4e231eb5d2342b7f3dbd155563aa755 |
|
04-Dec-2013 |
Andreas Dilger <adilger@dilger.ca> |
mmp: fix 64-bit handling of s_mmp_block Fix the checking of s_mmp_block in e2fsck_pass1() and ext2fs_mmp_read() to handle the high 32 bits of s_blocks_count. Remove redundant check of s_mmp_block in do_dump_mmp() right before ext2fs_mmp_read() is called. Also fix s_blocks_count_hi in check_backup_super_block(), since it cannot use the ext2fs_blocks_count() helper easily. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
1586850bcd716e7e99825bd0a9a138f8618e2305 |
|
14-Oct-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
c756ec4217dcc045f70f49f2a758ba301b057e55 |
|
14-Oct-2013 |
Robert Yang <liezhi.yang@windriver.com> |
debugfs.c: do sparse copy when src is a sparse file Let debugfs do sparse copy when src is a sparse file, just like "cp --sparse=auto" * For the: #define IO_BUFSIZE 64*1024 this is a suggested value from gnu coreutils: http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=src/ioblksize.h;h=1ae93255e7d0ccf0855208c7ae5888209997bf16;hb=HEAD * Use malloc() to allocate memory for the buffer since put 64K (or more) on the stack seems not a good idea. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
355ffb2ff566229b8bc3f5f7557e91edff5a767a |
|
14-Oct-2013 |
Robert Yang <liezhi.yang@windriver.com> |
debugfs.c: the max length of debugfs argument is too short The max length of debugfs argument is 256 which is too short, the arguments are two paths, the PATH_MAX is 4096 according to /usr/include/linux/limits.h, so use BUFSIZ (which is 8192 on Linux systems), that's also what the ss library uses. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
fc9f162eea8ade980b6347a70a020d43ba215540 |
|
10-Sep-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
a17e9f304bcce0d30578f91bba7456d84a113423 |
|
29-Jul-2013 |
Eric Sandeen <sandeen@redhat.com> |
debugfs: properly set up extent header in do_write do_write doesn't fully set up the first extent header on a new inode, so if we write a 0-length file, and don't write any data to the new file, we end up creating something that looks corrupt to kernelspace: EXT4-fs error (device loop0): ext4_ext_check_inode:464: inode #12: comm ls: bad header/extent: invalid magic - magic 0, entries 0, max 0(0), depth 0(0) Do something similar to ext4_ext_tree_init() here, and fill out the first extent header upon creation to avoid this. Reported-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Tested-by: Robert Yang <liezhi.yang@windriver.com>
/external/e2fsprogs/debugfs/debugfs.c
|
70f4632b626e3db94dd02c9dc9b4e643ffb0d048 |
|
08-Jun-2013 |
Jan Kara <jack@suse.cz> |
libext2fs: provide functions to safely access name_len and file_type Accessing name_len (and file_type) in ext4_dir_entry structure is somewhat problematic because on big endian architecture we need to now whether we are really dealing with ext4_dir_entry (which has u16 name_len which needs byte swapping) or ext4_dir_entry_2 (which has u8 name_len which must not be byte swapped). Currently the code is somewhat surprising and name_len is always treated as u16 and byte swapped (flag EXT2_DIRBLOCK_V2_STRUCT isn't ever used) and then masking of name_len is used to access real name_len or file_type. Doing things this way in applications using libext2fs is unexpected to say the least (more natural is to type struct ext4_dir_entry * to struct ext4_dir_entry_2 * but that gives wrong results on big endian architectures. So provide helper functions that give endian-safe access to these fields. Also convert users in e2fsprogs to use these functions. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
7b68fa38b800fdbdfdad77273749f630b585f4c0 |
|
16-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: RELEASE-NOTES lib/ext2fs/ext2_err.et.in version.h
|
e1e961cb808e7192d5b4760c9e467e8cfafc392d |
|
15-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix mknod command so that it updates the block group statistics Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
4df6a37bd39c84ea67394ab5049bc82f14b929b5 |
|
04-Jan-2013 |
Darren Hart <dvhart@infradead.org> |
debugfs: add symlink command Add support for symbolic links using a new symlink command. Modeled after the do_mkdir() command. Testing demonstrates both fastlinks and slowlinks work correctly. Very long target paths fail as the command parsing appears to truncate the input to somewhere around 256 bytes. Signed-off-by: Darren Hart <dvhart@infradead.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Cc: Andreas Dilger <adilger@dilger.ca>
/external/e2fsprogs/debugfs/debugfs.c
|
9e85208e84bbdea9cfe6e8887502a1c4d92efbe5 |
|
14-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix gcc-wall complaints Fix the missing function prototypes from the recently added new debugfs commands, plus some signed vs unsigned comparison complaints. Also change the abbreviation of the block_dump command from "bp" to the more appropriate "bp". Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
ab83252174bf450e865e76d7c7347c9c39fccadf |
|
24-Dec-2012 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: e2fsck/problem.c e2fsck/problem.h
|
bee7b67ce92bb912fccc0dcce3c71c186c2a988b |
|
23-Dec-2012 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add the ability to manipulate the extent tree directly This commit adds the functionality which had previously only been in the tst_extents command to debugfs. The debugfs command extent_open will open extent tree of a particular inode, and enables a series of commands which will allow the user to interact with the extent tree directly. Once the extent tree is closed via extent_open(), these additional commands will be disabled again. This commit exports two new functions from lib/ext2fs/extent.c which had previously been statically defined: ext2fs_extent_node_split() and ext2fs_extent_goto2(). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a9620d8b308271ace63dd0787555fa715d09e0f8 |
|
03-Aug-2012 |
Darrick J. Wong <djwong@us.ibm.com> |
libext2fs: add checksum to MMP block Calculate and verify a checksum of the MMP block. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
5b58dc2304f06953e1d8314ea570cc3befec95bc |
|
03-Aug-2012 |
Darrick J. Wong <djwong@us.ibm.com> |
libext2fs: block group checksum should use metadata_csum algorithm Change the block group algorithm to use the same algorithm as the rest of the metadata_csum. This mostly involves providing a helper function to tell if group descriptors should have checksums set or verified, and modifying the gdt checksum code to use the correct algorithm. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
6d0af0c85d2298cbb3acc8cfd860beb932623d23 |
|
31-Jul-2012 |
Darrick J. Wong <djwong@us.ibm.com> |
debugfs: dump inode checksum when appropriate Dump inode checksum when displaying inode info. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
9bca9a39b7b159d78f21ddab63ba1ad68c5e5443 |
|
30-Jul-2012 |
Darrick J. Wong <djwong@us.ibm.com> |
debugfs: optionally ignore bad checksums If someone is debugging a badly damaged filesystem, it might be useful to disable the checksum verifications that will otherwise prevent the filesystem from loading. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d6a4bcb517ac7aa6d2347d6979f1f04cd94d60d8 |
|
26-Jun-2012 |
Tony Breeds <tony@bakeyournoodle.com> |
Make Multi Mount Protection (MMP) optional at configure time. Add --{en,dis}able-mmp options for configure, default to enabled. Also make tools fail gracefully in the event of encoutering a filesystem with MMP enabled when the tools were compiled with --disable-mmp Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
1d520184ee1a809f0a41566eed80ccf64b39ed1a |
|
24-Apr-2012 |
Zheng Liu <wenqing.lz@taobao.com> |
debugfs: cleanup in do_show_debugfs_params Remove 'out' variable and replace fprintf with printf. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
e64e6761aa22f31123a91206a5686526f7b9c6c0 |
|
05-Apr-2012 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nitpicks Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2ae5d1fdb82b31bf270c4699c59a087c846db2f0 |
|
26-Mar-2012 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: teach seti and freei to free a block of inodes In order to the inode allocation functions, it's useful to set and clear a range of inodes. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
24dea55494ea753dbc8e4d965345cd2a7144d4fd |
|
15-Mar-2012 |
Theodore Ts'o <tytso@mit.edu> |
Use rbtree bitmaps for dumpe2fs, debugfs, and tune2fs For large file systems, using the rbtree bitmap can save a lot of memory. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
8bf1e9184ed607aca8afaf50f0972c5a5a9a32db |
|
17-Jan-2012 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add ncheck -c option Add a -c option to ncheck will verifies the file type information in the directory entry. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
3cebf9c1029ca983ebbbae79f7905a02d087ff98 |
|
17-Nov-2011 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: fix gcc -Wall complaints Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
e88c5a33a841026728fa7c9fcc4bcdca6580b495 |
|
15-Nov-2011 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: build read-only variant of debugfs Create a version of debugfs which only supports read-only examination of the file system metadata (but not the data blocks). The idea is that this version of debugfs might be suitable to be setuid root, and executable only by members of a particular group, or setgid disk, and globally executable, depending on the security/privacy policies in force at a particular site. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
7105c183a0f4622268a50db37017cfacc9877e5f |
|
12-Nov-2011 |
Eric Sandeen <sandeen@redhat.com> |
debugfs: tidy up mmp handling Several small fixes: * Gracefully fail mmp commands if fs is not open * Show magic number in dump_mmp command * Fix header in output for set_mmp_value -l Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
0c80c44bd08c60f3cd0ad87f12a71a75cac3bcaa |
|
17-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag The ext2fs_file_acl_block() and ext2fs_set_file_acl_block() needs to only check i_file_acl_high if the 64-bit flag is set. This is needed because otherwise we will run into problems on Hurd systems which actually use that field for h_i_mode_high. This involves an ABI change since we need to pass ext2_filsys to these functions. Fortunately these functions were first included in the 1.42-WIP series, so it's OK for us to change them now. (This is why we have 1.42-WIP releases. :-) Addresses-Sourceforge-Bug: #3379227 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
0f5eba7501f467f757792ee449d16c9259b994fd |
|
24-Sep-2011 |
Andreas Dilger <adilger@whamcloud.com> |
ext2fs: add multi-mount protection (INCOMPAT_MMP) Multi-mount protection is feature that allows mke2fs, e2fsck, and others to detect if the filesystem is mounted on a remote node (on SAN disks) and avoid corrupting the filesystem. For e2fsprogs this means that it checks the MMP block to see if the filesystem is in use, and marks the filesystem busy while e2fsck is running on the system. This is useful on SAN disks that are shared between high-availability servers, or accessible by multiple nodes that aren't in HA pairs. MMP isn't intended to serve as a primary HA exclusion mechanism, but as a failsafe to protect against user, software, or hardware errors. There is no requirement that e2fsck updates the MMP block at regular intervals, but e2fsck does this occasionally to provide useful information to the sysadmin in case of a detected conflict. For the kernel (since Linux 3.0) MMP adds a "heartbeat" mechanism to periodically write to disk (every few seconds by default) to notify other nodes that the filesystem is still in use and unsafe to modify. Originally-by: Kalpak Shah <kalpak@clusterfs.com> Signed-off-by: Johann Lombardi <johann@whamcloud.com> Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
2418dfd7b934ee6bf3dc9a0aa4ffee8b37f4384f |
|
16-Sep-2011 |
Theodore Ts'o <tytso@mit.edu> |
dumpe2fs: display "free blocks" as "free clusters" for bigalloc file systems Change this for the equivalent function in debugfs as well. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
af0df2aa4a073f7e1a2d58b40010ecd891e80a60 |
|
09-Jul-2011 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: add a new debugfs command 'blocks' The blocks command prints out the blocks used by a particular inode, in a format which is useful for test suite automation. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
0bd0e5932046401049502ee99529b984d7cd316e |
|
09-Jul-2011 |
Andreas Dilger <adilger@whamcloud.com> |
misc: use EXT2_I_SIZE() consistently to get size Use the EXT2_I_SIZE() macro consistently to access the inode size. The i_size/i_size_high combination is open coded in several places. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
cf5301d7f2c3bbed3d26600335102414cbf0c4ba |
|
11-Jun-2011 |
Andreas Dilger <adilger@whamcloud.com> |
misc: clean up compiler warnings Fix several types of compiler warnings (unused variables/labels), uninitialized variables, etc that are hit with gcc -Wall. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
9d92a201deec7bbb1911e6e5ee98abf3c83882d4 |
|
25-Sep-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: configure configure.in lib/ext2fs/ext2fs.h misc/mke2fs.c
|
a9468442350b4c1e6e029493bfbc1a840b1f7efe |
|
25-Sep-2010 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Make the extents listing in the stat command more concise Use "[u]" instead of "[uninit]" and limit the amount of detail printed for the extent tree blocks, so it is more similar to the format used for direct/indirect mapped inodes. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
0fd68e0241e944545d43045593e82b0fb7317797 |
|
24-Sep-2010 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Add the -D option to request Direct I/O Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
c4b87b8c4ff6f3efff86f96dbef3ed050a712354 |
|
20-Sep-2010 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Display the extent tree blocks in the stat command output Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
86685923625eed3632eaf17cdda8e86f13b13384 |
|
22-Jul-2010 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Add new debugfs command punch (aka truncate) This uses the newly added ext2fs_punch() function. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
cd65a24e756b8f6770a5961fd94c67eb00dd7baa |
|
26-Oct-2009 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: Convert ext2fs_bg_flag_test() to ext2fs_bg_flags_test() After cleaning up ext2fs_bg_flag_set() and ext2fs_bg_flag_clear(), we're left with ext2fs_bg_flag_test(). Convert it to ext2fs_bg_flags_test(). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
03b9dca63a75731711071e0a7ddef0475d6daf3a |
|
26-Oct-2009 |
Eric Sandeen <sandeen@redhat.com> |
debugfs: open file systems using EXT2_FLAG_64BITS Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
95bcea9fc149e349865f9eb30988ad1b4e1c1342 |
|
05-Oct-2009 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: configure configure.in misc/mke2fs.c
|
2d7ef236b752c1da7868f009018075fddc01d810 |
|
28-Sep-2009 |
Peng Tao <bergwolf@gmail.com> |
debugfs: add matching fclose If the cmd_file is not stdin, we should close the file handle via fclose(). Thanks David Binderman to point this out. Addresses-Novell-Bugzilla: #524526 Signed-off-by: Peng Tao <bergwolf@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
4efbac6fed75c29d3d5f1b676b932754653a2ac5 |
|
08-Sep-2009 |
Valerie Aurora Henson <vaurora@redhat.com> |
Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count() Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: Nick Dokos <nicholas.dokos@hp.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
732c8cd58ff30ffae0d3276c411a08920717a46c |
|
08-Sep-2009 |
Theodore Ts'o <tytso@mit.edu> |
Use accessor functions fields for bg_flags in the block group descriptors 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>
/external/e2fsprogs/debugfs/debugfs.c
|
6d879a999bad95724304a2a5158d7da4fcd599e7 |
|
23-Aug-2009 |
Valerie Aurora Henson <vaurora@redhat.com> |
debugfs: Move everything to new bitmap interface Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
187cb623dc8085439d366dceb07bc2191da3c21e |
|
27-Jul-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Add the new command dump_extents and extent the stat command Extend the stat command to display more detailed extent information if the file uses extent mapping instead of displaying the block map using the block_iterate funtion. Add the command dump_extents which displays even more detailed information about an inode's extent tree. This commit is an extension of a patch from Curt Wohlgemuth. Signed-off-by: Curt Wohlgemuth <curtw@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
6e9761c2c02a055199059156a979e5d9928c428b |
|
15-Jun-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Fix miscellaneous memory leaks Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
6dce532867a0f8d6a99a2c6fe049de411dc109f2 |
|
29-May-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Add -a option to close_filesys command Add an -a option to the close_filesys command which writes any changes to the superblock or block group descriptors to all of the backup superblock locations. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
81624c3c7b4784f6651e807994db4792a49112eb |
|
18-Apr-2009 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Print 64-bit file acl This is necessary so we can debug filesystem corruptions caused by the i_file_acl bogusly getting set. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
eefa4d950cf4da9a835812fe44fb7973ec147cbf |
|
29-Jan-2009 |
Eric Sandeen <sandeen@redhat.com> |
debugfs: fix segfault on "stat" command with no open fs This is a regression from commit 8fdf29117f922419bd5b3f741e5d554b1d5b8893, which attempts to access current_fs via a feature check before we check that it's open. Just moving the feature check below the open check should fix it. Reported-by: Andrew Hecox <ahecox@redhat.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
eaf8fedcfec197b62d3ef9b9c5ef4938dd63d3a0 |
|
28-Aug-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Use extents when writing a file if the filesystem supports them Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
03efde8abe79c80ff369206d06d4f1e476b08f53 |
|
24-Aug-2008 |
Andreas Dilger <adilger@sun.com> |
add debugfs command to print known features Print out the currently supported features of e2fsprogs/libext2fs via a new "debugfs supported_features" command. This helps scripts to know whether it is possible to try and enable specific features in the filesystem. Signed-off-by: Kalpak Shah <kalpak.shah@sun.com> Signed-off-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
73b054259632148e789f61cce244ec4fa929721d |
|
23-Aug-2008 |
Manish Katiyar <mkatiyar@gmail.com> |
debugfs: Print the progname instead of argv[0] in error message Trivial fix to print the progname instead of argv[0] in error message. Signed-off-by: "Manish Katiyar" <mkatiyar@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
4262162ac207f526acdcffa5ed22e34c3674c28a |
|
23-Aug-2008 |
Manish Katiyar <mkatiyar@gmail.com> |
debugfs: Close the file handle and return in case of errors Close the filehandle and return in case if we are unable to expand the directory during write. Signed-off-by: "Manish Katiyar" <mkatiyar@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
2a7bfe835317bb9f3ebcd20079b2bb800f4b9eaa |
|
13-Jul-2008 |
Theodore Ts'o <tytso@mit.edu> |
Flush stdio buffers before calling setbuf() On Solaris setbuf() will discard any pending output to the stream, so make we call fflush() before calling setbuf(). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a16031c639c1965c7a35eb9ac9b2d45798efe7e9 |
|
16-May-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Print the nanosecond field and i_version field of an inode Add support for dumping out the new inode fields added in ext4 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
8fdf29117f922419bd5b3f741e5d554b1d5b8893 |
|
22-Oct-2007 |
Jose R. Santos <jrs@us.ibm.com> |
Make debugfs uninit block group aware 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>
/external/e2fsprogs/debugfs/debugfs.c
|
2d328bb76d2d63bdfdba923b54c28bd686bd8fec |
|
18-Mar-2008 |
Theodore Ts'o <tytso@mit.edu> |
Fix miscellaneous gcc -Wall warnings Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a49670e64e28ac3b15e36cb6bd0a8135d3ecdbbb |
|
28-Feb-2008 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' Conflicts: lib/blkid/devname.c lib/blkid/probe.c misc/mke2fs.c misc/tune2fs.c
|
5aae7c292fe0e10ec4e36d664da86939d15aca31 |
|
27-Feb-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: Fix find_free_block to avoid reporting the block more than once Addresses-Sourceforge-Bug: #1096315 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
0157e7c635c845c0e636576206718d8abaf70e08 |
|
19-Feb-2008 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next
|
290ac0e321e02cbd8041e9775fae3fcb8e23377d |
|
30-Jan-2008 |
Eric Sandeen <sandeen@redhat.com> |
print "mostly-printable" xattr strings in debugfs Taking a cue from getfattr... if a string is "mostly" printable characters, go ahead & print as a string, and escape what's left over. so we get: Extended attributes stored in inode body: selinux = "system_u:object_r:root_t:s0\000" (28) instead of: Extended attributes stored in inode body: selinux = "73 79 73 74 65 6d 5f 75 3a 6f 62 6a 65 63 74 5f 72 3a 72 6f 6f 74 5f 74 3a 73 30 00 " (28) (selinux includes the trailing null in "len" so it never prints as a string today) Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
49ce6cb5cee956a478a3704c92619de1c7f204d5 |
|
31-Aug-2007 |
Theodore Ts'o <tytso@mit.edu> |
Allow debugfs to be extended for use by test programs This change allows debugfs to be reused as the base for e2fsprogs internal test programs, by linking debugfs object files with additional object file(s) that define additional commands. The test program's object file(s) should define their own comand table, and define the symbol extra_cmds to be a pointer to the ss_request_table. In addition, the symbol debug_prog_name can be used to override the name of the program printed in the version banner and in the ss prompt. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
fef2b38d8e5b475655771f8208265a8fa9246601 |
|
01-Jan-2008 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: configure debian/rules e2fsck/swapfs.c lib/ext2fs/ext2_fs.h
|
b026d539e67ca4bd1a7ef3743888c594fad7bfff |
|
01-Jan-2008 |
Theodore Ts'o <tytso@mit.edu> |
debugfs: allow the undel command reallocate without linking the inode When recovering a large number of deleted files, linking the undeleted inodes to directories may require a directory to be expanded. This could allocate a block that that had been used by one of the yet-to-be-undeleted files. So the 'undel' command been enhanced to allow the destination pathname to be optional. This will allow the cautious user to undelete all of the inodes without specifying a destination pathname, and then either use debugfs's link command to add hard links, or use e2fsck to link all of the recovered files to the lost+found directory. Addresses-Sourceforge-Feature-Request: #967141 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d9099eec8e8f801932f01b707513b330908080d7 |
|
01-Nov-2007 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'cl/remove-masix' into next
|
227181f88f2c9f13d9efcbd6b916306326d4ff75 |
|
23-Aug-2007 |
Coly Li <coyli@suse.de> |
debugfs: remove masix support This patch remove masix supporting from debugfs. Singed-off-by: Coly Li <coyli@suse.de> --
/external/e2fsprogs/debugfs/debugfs.c
|
d9039ae0ff3f7929ede576058b3ad3e9c62a47c4 |
|
20-Oct-2007 |
Dmitry V. Levin <ldv@altlinux.org> |
Check fgets(3) return value When fgets() function fails, contents of the buffer is undefined. That is, fgets() return value needs to be checked, to avoid undefined behavior. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d4e0b1c6f5aa8c6a248d9149ed5634a310952411 |
|
04-Aug-2007 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall warnings Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
5113a6e32b298671c86ae7da097bcd24540cebc9 |
|
08-May-2007 |
Eric Sandeen <sandeen@redhat.com> |
Fix mke2fs and debugfs to support large (> 16 bit) uid's and gid's Mke2fs is supposed to set the uid/gid ownership of the root directory when a non-rooot user creates the filesystem. This wasn't working correctly if the uid/gid was > 16 bits. In additional, debugfs wasn't displaying large uid/gid's correctly. This patch fixes these two programs. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
3e41913c48614e93dc266ae66fdf0824a8c76ffb |
|
10-Apr-2007 |
Eric Sandeen <sandeen@redhat.com> |
Handle large setb/testb/freeb commands in debugfs Fix a signed vs. unsigned problem by using blk_t instead of int Signed-off-by: Eric Sandeen <sandeen@redhat.com>
/external/e2fsprogs/debugfs/debugfs.c
|
971fe056305c7f57629d609490701e13298e658b |
|
29-Mar-2007 |
Brian Behlendorf <behlendorf1@llnl.gov> |
[COVERITY] Handle potential case in debugfs if ext2fs_get_pathname returns NULL Coverity ID: 51: Use After Free Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
/external/e2fsprogs/debugfs/debugfs.c
|
57a1cbb643237b168bd4151aff3d3bad28bbc326 |
|
07-Mar-2007 |
Theodore Ts'o <tytso@mit.edu> |
Allow the debugfs lcd command to work w/o a filesystem being open Addresses LTC Bugzilla #27513 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
a6d8302b4873527798a77c1ba3106a04b71dfeac |
|
26-Dec-2006 |
Theodore Ts'o <tytso@mit.edu> |
Use the newer add/remove_error_table com_err interfaces Change all of the e2fsprogs programs to use the newer add_error_table() and remove_error_table() interfaces instead of the much older initialize_*_error_table() function. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
cf8272e1081f69d898d5182ed516e28807135dea |
|
13-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
Allow debugfs and dumpe2fs to support fs features under development Add support for the new flag EXT2_FLAG_SOFTSUPP_FEATURES flag to ext2fs_open() , which allows application to open filesystes with features which are currently only partially supported by e2fsprogs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
5d17119d14fe1276936c85d7986695a4543b1aa1 |
|
11-Nov-2006 |
Theodore Ts'o <tytso@mit.edu> |
On-disk format definition for huge files - EXT4_FEATURE_RO_COMPAT_HUGE_FILE (0x0008) - change i_blocks to be in units of s_blocksize units instead of 512-byte sectors, use l_i_frag and l_i_fsize as i_blocks_hi (could also be part of 64BIT). E2fsck and debugfs changed to support i_blocks_hi instead of l_i_frag and l_i_fsize. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
d047e073e74598ad87ee59ff309c98bbfcd8d80f |
|
21-Jun-2006 |
Andreas Dilger <adilger@clusterfs.com> |
debugfs "stat" should print unsigned values for xattrs This patch changes debugfs to print unsigned chars when "stat" on an inode finds xattrs in the inode. Without this change, the values are printed as signed chars, e.g. "ffffffec" instead of "ec". Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
/external/e2fsprogs/debugfs/debugfs.c
|
f5fa20078bfc05b554294fe9c5505375d7913e8c |
|
09-May-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add support for EXT2_FEATURE_COMPAT_LAZY_BG This feature is initially intended for testing purposes; it allows an ext2/ext3 developer to create very large filesystems using sparse files where most of the block groups are not initialized and so do not require much disk space. Eventually it could be used as a way of speeding up mke2fs and e2fsck for large filesystem, but that would be best done by adding an RO_COMPAT extension to the filesystem to allow the inode table to be lazily initialized on a per-block basis, instead of being entirely initialized or entirely unused on a per-blockgroup basis. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
98eb44bdb5749f323a858d71bf5e7f0eddb61191 |
|
19-Mar-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add an option to debugfs to open filesystems in exclusive mode Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
9b9a780f5a5823865f62f0c9fd194d262f63a06f |
|
11-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix various gcc -Wall complaints. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
4efae606bf3159f2134fa29a5ad78fb9f6331f92 |
|
25-Sep-2005 |
Theodore Ts'o <tytso@mit.edu> |
New debugfs command: set_current_time Generalize the time parsing code and move it to util.c:string_to_time(). Add new command, set_current_time, which sets the time used to set the filesystems's time fields. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/debugfs/debugfs.c
|
8363e357b2cf943396ec7165e389a20385e40ab6 |
|
06-May-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix compile warning in do_stat() from previous fix.
/external/e2fsprogs/debugfs/debugfs.c
|
64777391eb2bdc0d57319bb9895b840a4c60e475 |
|
05-May-2005 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_stat): Check to make sure a filesystem is open and abort if with an error if not, to prevent a seg fault in that case.
/external/e2fsprogs/debugfs/debugfs.c
|
c9ae3f9a4969939441d12b55923dc6c92b642705 |
|
21-Mar-2005 |
Theodore Ts'o <tytso@mit.edu> |
Make debugfs's stat command print the size of the extra inode fields, if any.
/external/e2fsprogs/debugfs/debugfs.c
|
030970ed750b6a169c32ffb8b19bce3150198629 |
|
21-Mar-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create a new inode we make sure that the extra information in the inode (any extra fields in a large inode and any ea-in-inode information) is cleared. This can happen when e2fsck creates a new root inode or a new lost+found directory, or when the user uses the debugfs write, mknod, or mkdir commands. Otherwise, the newly create inode could inherit garbage (or old EA information) from a previously deleted inode.
/external/e2fsprogs/debugfs/debugfs.c
|
ea822eeba373bd0bed6e58a35ce123a9f2768113 |
|
21-Mar-2005 |
Theodore Ts'o <tytso@mit.edu> |
Enhance debugfs's stat command so it can dump extended attributes which are stored in the inode body.
/external/e2fsprogs/debugfs/debugfs.c
|
b0d17e0d47f072c208633f8cad0fbe123faf2876 |
|
29-Nov-2004 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_open_filesys): Fix obvious uninitialized variable buglet.
/external/e2fsprogs/debugfs/debugfs.c
|
9c92d848a8125c554b469440fbe72bb0ad740456 |
|
19-Nov-2004 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (kill_file_by_inode): Only iterate over the inode to release blocks if the inode has them; otherwise attempting to rm devices and fast symlinks will lead to errors. (Addresses Sourceforge Bug #954741 and #957244)
/external/e2fsprogs/debugfs/debugfs.c
|
1ad54a940c499a66241f624882f1ffa03ce56d90 |
|
29-Jul-2004 |
Theodore Ts'o <tytso@mit.edu> |
Add ability for debugfs to use a separate source of data blocks when reading from an e2image file. (New -d option) Add new functions ext2fs_get_data_io, ext2fs_set_data_io, ext2fs_rewrite_to_io to libext2fs library.
/external/e2fsprogs/debugfs/debugfs.c
|
abdf84f38ae766f401961d82d4eefdad78ac24ed |
|
20-Mar-2004 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (make_link): Set the filetype information when creating a link.
/external/e2fsprogs/debugfs/debugfs.c
|
2d10769ec6745b1e4bab371764d65bb3587ab285 |
|
24-Feb-2004 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (internal_dump_inode): Display the major/minor device numbers for block/character devices. (do_mknod): Add support for new-style device numbers (where the major or minor number is greater than 255 and less than 65535). (Addresses Sourceforge bug #865289)
/external/e2fsprogs/debugfs/debugfs.c
|
795afc4483c341d61805247a69b3b696e5599c09 |
|
22-Feb-2004 |
Theodore Ts'o <tytso@mit.edu> |
Fix libext2fs and debugfs to correctly deal with symlinks that have extended attribute information. (Addresses Debian Bug #232328)
/external/e2fsprogs/debugfs/debugfs.c
|
2d9f0804bf6265f36f50fcde80b4cb5ef89fa936 |
|
11-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_write, do_mkdir): If the directory is full, automatically call ext2fs_expand_dir() and then retry to add the link to the directory as a convenience to the user. (Addresses Debian Bug: #217892) (do_mknod): Clean up expand_dir error handling.
/external/e2fsprogs/debugfs/debugfs.c
|
04df49191e76aa22e914aebd91ede0ff28888f00 |
|
07-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_write): Mask off the file type bits, and OR in the regular file information. (Addresses Debian Bug: #217456)
/external/e2fsprogs/debugfs/debugfs.c
|
544349270e4c74a6feb971123884a8cf5052a7ee |
|
07-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nitpicks
/external/e2fsprogs/debugfs/debugfs.c
|
48e6e81362f264aee4f3945c14928efaf71a06c9 |
|
06-Jul-2003 |
Theodore Ts'o <tytso@mit.edu> |
Fixx gcc -Wall nitpicks.
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
becf36f6ace508fd091052b9e9bcdea192bfbc48 |
|
05-May-2003 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_imap), debugfs.h, debug_cmds.ct, debugfs.8.in: Added new command, imap, which prints the location of a specified inode in the inode table.
/external/e2fsprogs/debugfs/debugfs.c
|
3ae497eab281eab5f98770e6a3d5992b9d37325e |
|
16-Mar-2003 |
Theodore Ts'o <tytso@mit.edu> |
Add to the ss (subsystem) library the ability to dynamically link to the readline library if it is present in the system.
/external/e2fsprogs/debugfs/debugfs.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/debugfs.c
|
1dd090faa03a781492791ce9eacf4fd5ecbf425f |
|
31-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_write): Check to see if the filename exists before creating it, and give an error if so. Addresses Sourceforge bug #478195.
/external/e2fsprogs/debugfs/debugfs.c
|
34be9609de977fe2e041c7b48fb9d4d0d6878bb1 |
|
15-Jul-2002 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_show_super_stats): Calculate and print the number of directories on a filesystem --- because we can and because it can be useful.
/external/e2fsprogs/debugfs/debugfs.c
|
d7f64ae8386bf94ec7490459c9fa0fb2b0b95e0f |
|
09-Jul-2002 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (do_rmdir), debugfs.8.in: Implement the rmdir command. Addresses Debian bug #138003.
/external/e2fsprogs/debugfs/debugfs.c
|
b38cd283637dafff6b39d4b76bf76fa2789eb21f |
|
12-May-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add a new command "bmap" to debugfs which calculates the logical->physical block mapping for a particular inode. Fixed a bug in the libext2 library which broke ext2fs_bmap if no inode structre was passed inside for here. Fixed bad calling parameters to parse_ulong which broken the -b and -s options to debugfs, as well as do_init, and the testb, setb, clearb functions.
/external/e2fsprogs/debugfs/debugfs.c
|
7380ac903316c0fe91ed6706eb4d84249a9b348d |
|
05-Mar-2002 |
Theodore Ts'o <tytso@mit.edu> |
Two bug fixes to debugfs, courtesy of Jaroslav Drzik <jdrzik@host.sk> for suggesting this enh ancement. 1) The modify_inode command was core dumping if no filesystem was open. 2) The lsdel command command now uses the pager. Also updated the Makefile.in file with "make depend".
/external/e2fsprogs/debugfs/debugfs.c
|
682720a41b70cbe5291b524184983712124035b2 |
|
03-Jan-2002 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nits.
/external/e2fsprogs/debugfs/debugfs.c
|
e1018eeaa3285cd0ca26986d929194c1b577d211 |
|
03-Jan-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add new debugfs commands and arguments which make it easier to recover deleted files. The lsdel command now takes an optional argument which allows the user to only see the most recently deleted files. Also added a new command, undel, which automates undeleting a deleted inode and linking it back to a directory. Also added an optional count argument to the testb, freeb, setb, and find_free_block commands. The ls command now takes a new option, -d, which lists deleted directory entries. Factored out out commonly used code into utility subroutines for ease of maintenance and to make the executable size smaller.
/external/e2fsprogs/debugfs/debugfs.c
|
344368911e118ffacde509d63bb8e617f91ea7cf |
|
22-Dec-2001 |
Theodore Ts'o <tytso@mit.edu> |
Update the group descriptor free block and inode counts when deleting or killing a file.
/external/e2fsprogs/debugfs/debugfs.c
|
e89818835bd458569aea315208528d4745fefc71 |
|
30-Nov-2001 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c (finish_range, dump_blocks): Fixed bug in Andreas's > 2GB support changes: you need to use %lld when printf'ing an long long variable.
/external/e2fsprogs/debugfs/debugfs.c
|
89e25cfdbf206d6840dc92385ee839dd850294db |
|
09-Nov-2001 |
Andreas Dilger <adilger@clusterfs.com> |
Support very large files with debugfs (first pass). If a file is created with "dd if=/dev/zero of=<file> bs=1k skip=2047M" it is created properly by the kernel, but fails to be seen properly by debugfs - the blocks are not shown by stat <inum>, nor can they be found by icheck. This change fixes that.
/external/e2fsprogs/debugfs/debugfs.c
|
1a6bb6274fc0a0fff9072dd63b39e716cb94d4ed |
|
09-Nov-2001 |
Andreas Dilger <adilger@clusterfs.com> |
Change the i_size calculation to match current kernel policy of only allowing large files for regular files, as opposed to non-directories.
/external/e2fsprogs/debugfs/debugfs.c
|
0f8973fb092a40fd0a11b7ec95c09128c9fb8f0c |
|
27-Aug-2001 |
Theodore Ts'o <tytso@mit.edu> |
Remove EXT2FS_VERSION from the version display, since it only confuses people. Make fsck's version display be consistent with the other e2fsprogs programs.
/external/e2fsprogs/debugfs/debugfs.c
|
b7846402ca8f58dc6e7ed967ba8eba8fae26b8db |
|
04-Jun-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (copy_file): Fixed signed vs unsigned bug which causes read errors to not be noticed.
/external/e2fsprogs/debugfs/debugfs.c
|
5e4f070952bb4472e28a925f591b551baf2db278 |
|
01-Jun-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, debugfs.h, logdump.c: debugfs.c, debugfs.h, logdump.c: Fix various gcc -Wall nitpicks.
/external/e2fsprogs/debugfs/debugfs.c
|
092c3dec39301ac61367b710d995f74b523948c2 |
|
14-May-2001 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c: Fix missing tab
/external/e2fsprogs/debugfs/debugfs.c
|
777ebb3e51b1c7ec0d7c5a457ef04d40f61b6c30 |
|
13-May-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (print_features): Use fputs instead of printf to output using the passed-in FILE *.
/external/e2fsprogs/debugfs/debugfs.c
|
085cb19a55aa45e9959d55098295355bb87b43f5 |
|
09-May-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (do_write, do_mknod): Set the file type information when creating the inode.
/external/e2fsprogs/debugfs/debugfs.c
|
59cf7e0da802aa8f560434bd521c30f5bb5d3e21 |
|
03-May-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.8.in, debugfs.c: debugfs.c (do_open_filesys, main): Add -i option which will allow debugfs to examine ext2 image files.
/external/e2fsprogs/debugfs/debugfs.c
|
da81e3fcfe075922e995a1c5f1efded5768d519a |
|
29-Mar-2001 |
Theodore Ts'o <tytso@mit.edu> |
Many files: debugfs.c (dump_blocks, dump_inode, internal_dump_inode): Add internal_dump_inode() interface for the logdump command. logdump.c: Imported code from Stephen Tweedie to dump the ext3 journal.
/external/e2fsprogs/debugfs/debugfs.c
|
0a24c00bea29de9c5ed307d2b4a49e3d08943e7d |
|
18-Mar-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (do_write, do_mknod): Remove extra (useless) call to ext2fs_write_inode.
/external/e2fsprogs/debugfs/debugfs.c
|
b74d1d89eb478f1dee108adc1a274b69ce4b2557 |
|
12-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, debugfs.h: debugfs.h, debugfs.c (do_show_super_stats): Use full words instead of pluralism hack to make I18N conversion easier. Clean up gcc -Wall complaints.
/external/e2fsprogs/debugfs/debugfs.c
|
b044c2e02af46c54206f0f6e29896ab32681a7db |
|
11-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
Many files: debugfs.c, debugfs.h, dump.c, icheck.c, ls.c, lsdel.c, ncheck.c, setsuper.c, util.c: Change ino_t to ext2_ino_t. Fix a few minor gcc-wall complaints while we're at it.
/external/e2fsprogs/debugfs/debugfs.c
|
5dd8f963d04fa4099a003cb3b13ffae05ab29210 |
|
01-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, journal.c, pass1.c, super.c, unix.c: journal.c, pass1.c, super.c, unix.c: Replace use of struct ext2fs_sb with struct ext2_super_block. ChangeLog, debugfs.c: debugfs.c Replace use of struct ext2fs_sb with struct ext2_super_block.
/external/e2fsprogs/debugfs/debugfs.c
|
3db9305a6bdb67f708c31400603a34e799af475f |
|
30-Dec-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, setsuper.c: setsuper.c (find_field): Strip the s_prefix if given for ssv fields. (Suggested by Andreas Dilger) debugfs.c (do_modify_inode): Add the ability to set the inode generation number. (Suggested by Andreas Dilger)
/external/e2fsprogs/debugfs/debugfs.c
|
2c4a540636142a936889bbe4b85a2b9c56bfa458 |
|
19-Aug-2000 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c: Fixup one more missing use of lb->f instead stdout when printing the comma separator. ChangeLog, util.c: util.c (open_pager): Set SIGPIPE to be ignored, so that quitting out of the pager doesn't blow away debugfs.
/external/e2fsprogs/debugfs/debugfs.c
|
80bfaa3e40ae6ab00cc3d4d1f4c0eeefce0b1a96 |
|
18-Aug-2000 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Makefile.in: Update the make dependencies problem.c, problem.h: Add the problem codes: PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, PR_0_ORPHAN_ALREADY_CLEARED_BLOCK, PR_0_ORPHAN_ILLEGAL_HEAD_INODE, PR_0_ORPHAN_ILLEGAL_INODE, PR_0_ORPHAN_INODE_INUSE super.c (release_inode_blocks, release_orphan_inodes, check_super_block): Add support for clearing orphaned inodes from the unmounted filesystem. journal.c (e2fsck_recover_ext3_journal): Remove the last orphan check; this is now handled in check_super_block --- non-journaled filesystems can use the orphan list in the future. Also, move the the re-opening of the filesystem to e2fsck_run_ext3_journal(). debugfs.c: debugfs.c (finish_range): Make sure the pager FILE pointer to use. configure, configure.in, ChangeLog: configure.in (JFS_DEBUG): Add support for --enable-jfs-debug
/external/e2fsprogs/debugfs/debugfs.c
|
bd09eff9b2caaa3539c3ed119a067782714bffa2 |
|
14-Aug-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (do_show_super_stats): Use list_super2() instead of using explicit printf statements. (We get a more complete printout this way.)
/external/e2fsprogs/debugfs/debugfs.c
|
0a3db93a1c6e76086553b27192612f8616df4c4c |
|
14-Aug-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Cap the length when printing a fast symbolic link to inode.i_size. (list_blocks_proc): Print block ranges (4510-4533) to make the stat output easier to read.
/external/e2fsprogs/debugfs/debugfs.c
|
a5eef73b6419e19bc8b66ed476fcf516952a4c67 |
|
14-Aug-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (list_blocks_proc): show relative inode block numbers and/or indirect block status
/external/e2fsprogs/debugfs/debugfs.c
|
1419717066683af09dcdcf4a2219d7872367cbeb |
|
05-Jul-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Make the generation field be printed as an unsigned integer.
/external/e2fsprogs/debugfs/debugfs.c
|
d61f6176024865007d5a0da49c61c21e9d498007 |
|
27-May-2000 |
Theodore Ts'o <tytso@mit.edu> |
Makefile.in: Fix stupid dependency bug. ChangeLog, debugfs.c, debugfs.h, util.c: debugfs.c (do_testb, do_testi): Call check_fs_bitmaps to avoid coredumping if the bitmaps aren't loaded. util.c (check_fs_bitmaps): New function which checks whether or not the bitmaps are loaded.
/external/e2fsprogs/debugfs/debugfs.c
|
2e8d40d562ec93d68505800a46c5b9dcc229264e |
|
27-May-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debug_cmds.ct, debugfs.8.in, debugfs.c, dump.c, ls.c: debugfs.8.in: Documented new behaviour. ls.c (ls_l_file): Fix Y2K bug -- was printing 22-May-100 for recent files. Switched to 4-digit years. dump.c, debug_cmds.ct (do_rdump): Add new debugfs command "rdump", which recursively dumps a directory and its contents. (fix_perms): New function. Break permission-fixing code out of dump_file() so it can be called by rdump code as well. (dump_file): Call fix_perms(). debugfs.c, debug_cmds.ct (do_lcd): Add new debugfs command "lcd", which changes the cwd on the native filesystem. debugfs.c (open_filesystem): Extra args for superblock, blocksize, and catastrophic mode. Changed callers. (do_open_filesys, main): Accept new -b, -s, -c options for open_filesystem. ChangeLog, mkdir.c: mkdir.c (ext2fs_mkdir): Read the parent directory's inode earlier, so that if there's an error reading it, we can more cleanly back out of the operation. version.h: Update version file for WIP release.
/external/e2fsprogs/debugfs/debugfs.c
|
80e808fceb61c2061b32593c610893bf07a863ee |
|
02-Feb-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Remove #ifdef for i_version vs. i_generation since we know it will always be i_generation now. ChangeLog, e2fsck.h, flushb.c, scantest.c: e2fsck.h, flushb.c, scantest.c: Remove uneeded include of linux/fs.h bmap.c: Fix silly spelling typo. ChangeLog, getsize.c, ismounted.c, swapfs.c: getsize.c, ismounted.c: Remove unneeded include of linux/fs.h swapfs.c: Remove #ifdef HAVE_EXT2_INODE_VERSION since it's not needed any more; we know it will always be i_generation. Add support for swapping the high bits of the uid and gid.
/external/e2fsprogs/debugfs/debugfs.c
|
e597304ab282d3030cbe364a6c55b9fe803a86c0 |
|
18-Jan-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (main): Use return instead of exit at the end to avoid some compiler warnings
/external/e2fsprogs/debugfs/debugfs.c
|
f68aa41476b0d7f43e85413fd08d7cfc8f916ea6 |
|
26-Oct-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, debugfs.h: debugfs.h: Add declaration for do_features() debugfs.c: Add #incldue of e2p.h to fix gcc warnings. ChangeLog, message.c: message.c (safe_print): Make safe_print take an char instead of an unsigned char to fix gcc warnings.
/external/e2fsprogs/debugfs/debugfs.c
|
601002bd2a144da02165529743a4b1621cfe9ae3 |
|
26-Oct-1999 |
Theodore Ts'o <tytso@mit.edu> |
.del-ext2_fs.h~7a460879, ChangeLog: ext2_fs.h (i_reserved2): Use __GNU__ instead of __hurd__ to detect the Hurd OS. To protect against future irrationality on the part of the FSF concerning whether Linux is GNU or not, on a system which defines both __linux__ and __GNU___, __linux__ takes precedence. ChangeLog, initialize.c: initialize.c (CREATOR_OS): Use __GNU__ instead of __gnu__ to detect the Hurd OS. ChangeLog, debugfs.c: debugfs.c (do_dirty_filesys): Make the "dirty" command clear the valid bit on the superblock. (And with a -clean option to set the valid bit.) Originally it was used just to set the "needs to be written" bit in the in-core version of the fs structure.
/external/e2fsprogs/debugfs/debugfs.c
|
06968e7e27aaac0f28fc6448fef58fcda314b5a2 |
|
23-Oct-1999 |
Theodore Ts'o <tytso@mit.edu> |
debugfs.c: Update to pass new required parameter to e2p_edit_features mke2fs.8.in: Update man page to add explanatory note about how the default block size is determined.
/external/e2fsprogs/debugfs/debugfs.c
|
d3aea7dc1bf155861573ae16160a703b03527ac9 |
|
14-Sep-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, debug_cmds.ct, debugfs.8.in, debugfs.c: debugfs.c, debug_cmds.ct: Add new debugfs command "feature" which allows the user to set or clear filesystme features. Add the -f (force) option to the open command. Add the -h (superblock header only) option to the stats command.
/external/e2fsprogs/debugfs/debugfs.c
|
55376d87298188f2575311fe596954bd9008b3d8 |
|
31-Jul-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Fix debugfs message so it is the same for when compiled under either Linux 2.2 or 2.3. This allows for the f_swapfs regression test suite to work regardless of which OS e2fsprogs was compiled on.
/external/e2fsprogs/debugfs/debugfs.c
|
b41d360bf5a9a7b3456ce60e5c2a86fcd292a043 |
|
25-Jun-1999 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (dump_inode): Add compatibility for Linux 2.3 kernels that use i_generation instead of i_version. Patch supplied by Jon Bright <sircus@sircus.demon.co.uk>.
/external/e2fsprogs/debugfs/debugfs.c
|
91d6d486d259b6eb08e4999025b9ef2b097d3495 |
|
01-Aug-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: debugfs.c (do_stat, do_clri): Fix bug where debugfs wasn't displaying the error message if ext2fs_read_inode() failed. (do_rm): Fix similar problem for call to ext2fs_namei().
/external/e2fsprogs/debugfs/debugfs.c
|
818180cdfcff84b9048ecdc5dc86323f0fefba24 |
|
27-Jun-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.8.in, debugfs.c: Add a -V option which displays the current version. ChangeLog, unix.c: unix.c (e2fsck_update_progress): Remove unused variables. ChangeLog, inode.c: inode.c (get_next_blockgroup): Fix bug where if get_next_blockgroup() is called early because of a missing inode table in a block group, the current_inode counter wasn't incremented correctly. ChangeLog, tst_uuid.c: tst_uuid.c (main): Fixed bogus declaration of the main's argv parameter. ChangeLog, test_icount.c: test_icount.c (main): Fix main() declaration so that it returns int, not void. Many files: fsck.c (ignore): Remove unused variable cp. chattr.c (fatal_error): tune2fs.c (usage): lsattr.c (usage): dumpe2fs.c (usage): badblocks.c (usage): Remove volatile from declaration. fsck.c: Change use of strdup to be string_copy, since we don't trust what glibc is doing with strdup. (Whatever it is, it isn't pretty.)
/external/e2fsprogs/debugfs/debugfs.c
|
4a31c48b827f378f386b28461fd14b41d709e4eb |
|
30-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, bmap.c, bmove.c, ext2fs.h, jump.funcs: ext2fs.h: If __STRICT_ANSI__ is defined and we're on a platform with 32 bit longs, then we need to manually define __s64 and __u64, since the current kernel header files don't define these if __STRICT_ANSI__ is defined. This is a problem if we are compiling with full GCC warnings, since we do need 64 bit support. Makefile.in (OBJS): Remove bmove.o from files to be built, since we're not using ext2fs_move_blocks() and there is some question as to its usefulness in its current form. bmap.c (block_bmap): Remove unused function. bmove.c (process_block): Fix -Wall warning. ChangeLog, debugfs.c, debugfs.h, dump.c: debugfs.h: Add declaration for do_dirty_filsys() to prevent -Wall warnings. debugfs.c (copy_file): dump.c (dump_file): Fix -Wall warning caused by signed/unsigned mismatch.
/external/e2fsprogs/debugfs/debugfs.c
|
36a43d675ef61d0f5d5b2ad62d2e670c408d14ac |
|
24-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
Many files: block.c (ext2fs_block_iterate3): Make the ref_offset field contain the offset into the inode.i_blocks array when ref_block is zero. Since we haven't done a formal release of e2fsprogs since block_iterate2 was first introduced, I removed block_iterate2, and renamed block_iterate3 to be block_iterate2. bb_inode.c, bmove.c, dblist_dir.c, dir_iterate.c, expanddir.c, ext2fs.h, ext2fsP.h, read_bb.c: Change use of block_iterate and block_iterate2 to block_iterate2 with the new prototype for the interator function. (using blkcnt_t forr blockcount) ChangeLog, debugfs.c, ls.c, lsdel.c: debugfs.c, ls.c, lsdel.c: Add support for large files. (The high 32 bits share space with the i_dir_acl field.)
/external/e2fsprogs/debugfs/debugfs.c
|
5a51384ef2cdcb2d49965c841ff558afc1f4ee01 |
|
26-Oct-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, dump.c: debugfs.c (copy_file), dump.c (dump_file): Change to use the new fileio primitives in libext2.
/external/e2fsprogs/debugfs/debugfs.c
|
f13048113f09def05a024470bfeaf44635bf7e98 |
|
25-Oct-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c, dump.c, ls.c: debugfs.c (main, do_open_filesys): dump.c (do_dump): Make the variable which getopt returns into be an int, so that it won't lose on platforms where char is unsigned.
/external/e2fsprogs/debugfs/debugfs.c
|
b4ac9cc351ba9613347a1f60a6e7d9c91060df82 |
|
15-Oct-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: When printing a usage message, have main return 1 (instead of not specifying a return value, bad!)
/external/e2fsprogs/debugfs/debugfs.c
|
a8859cad8790514cf2c41507aaea1ff3b751b954 |
|
16-Sep-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, debugfs.c: Fix declaration of main so that it returns an int.
/external/e2fsprogs/debugfs/debugfs.c
|
521e36857227b21e7ab47b0a97f788d2af9f9717 |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 1.08.
/external/e2fsprogs/debugfs/debugfs.c
|
21c84b71e205b5ab13f14343da5645dcc985856d |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs-1.07
/external/e2fsprogs/debugfs/debugfs.c
|
fc6d9d519aef67735918bf02c0fa8c9222008f76 |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 1.05
/external/e2fsprogs/debugfs/debugfs.c
|
62c06f790c4920ec2721515e36d599751f6d4d2d |
|
29-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 1.04.
/external/e2fsprogs/debugfs/debugfs.c
|
7f88b04341d88c5df0360d930832c38040303b61 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of e2fsprogs 1.03.
/external/e2fsprogs/debugfs/debugfs.c
|
50e1e10fa0ac12a3e2a9d20a75ee9041873cda96 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checked in e2fsprogs 0.5c
/external/e2fsprogs/debugfs/debugfs.c
|
f3db3566b5e1342e49dffc5ec3f418a838584194 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of e2fsprogs 0.5b
/external/e2fsprogs/debugfs/debugfs.c
|
3839e65723771b85975f4263102dd3ceec4523c0 |
|
26-Apr-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of e2fsprogs 0.5b
/external/e2fsprogs/debugfs/debugfs.c
|