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/resize/main.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/resize/main.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/resize/main.c
|
f404167dda29a59d2be2882328aeb074b9899669 |
|
17-Dec-2013 |
Theodore Ts'o <tytso@mit.edu> |
Clean up sparse warnings Mostly by adding static and removing excess extern qualifiers. Also convert a few remaining non-ANSI function declarations to ANSI. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
45ff69ffeb700012a7c052f5e45882557a40be7e |
|
16-Dec-2013 |
Andreas Dilger <adilger@dilger.ca> |
build: quiet LLVM non-literal string format warning Compiling with LLVM generates a large number of warnings due to the use of _() for wrapping strings for i18n: warning: format string is not a string literal (potentially insecure) [-Wformat-security] ./nls-enable.h:4:14: note: expanded from macro '_' #define _(a) (gettext (a)) ^~~~~~~~~~~~ These warnings are fixed by using "%s" as the format string, and then _() is used as the string argument. Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
e231f17500477f7abbea5c441971be491a04fdf4 |
|
01-Oct-2013 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: add debugging support for resize2fs -M calcuations Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
0d89e5acea99fc00d9b834eab6d228c47a71920a |
|
28-Jan-2013 |
Philipp Thomas <pth@suse.de> |
Fix warnings about functions not returning a value Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
a713a7fe5a929c0e1307e6bded8ac66805c7e748 |
|
22-Jan-2013 |
Theodore Ts'o <tytso@mit.edu> |
mke2fs, tune2fs, resize2fs: add warning messages for bigalloc and quota The bigalloc and quota features have some known issues, so issue warnings in case users try to use them. More information can be found here: https://ext4.wiki.kernel.org/index.php/Bigalloc https://ext4.wiki.kernel.org/index.php/Quota Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
42519becdafda2be9ca3fcfc8188b85592c71d86 |
|
29-Dec-2012 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: allow resizing flex_bg && !resize_inode file systems With the bug fixes from the last two commits, resize2fs can now fully support off-line resizing of file systems with flex_bg even if the resize_inode feature is not present; so we no longer need to disallow this combination. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
5e27a274d320b44c631a37d4b04a84aa3ca5428c |
|
30-Nov-2012 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: fix gcc -Wall nits and valgrind complaints One of these fixes was triggering failures when running: ./test_scripts --valgrind r_move_itable r_inline_xattr r_resize_inode It should be a false positive, but it fixing this makes it easier to see real problems. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
a4b738c0bf8ed3dfcbfab993f942e9bf3a7d4715 |
|
31-Aug-2012 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: allow meta_bg/64-bit file systems to be online resized Resize2fs can't handle resizing flex_bg file systems that do not have the resize inode, but when the kernel adds support for resizing using the meta_bg layout, we should allow it be able to resize the file system. So move the flex_bg/resize_inode check to the just before we start doing the off-line resize, instead of doing it earlier where it would prohibit these file systems for both on-line and off-line resizes. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
ea38e503073c2c541517ff5fb92135cc4a470a77 |
|
07-Sep-2012 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: enforce the 16TB limit on 32-bit file systems correctly The 16TB limit must be enforced regardless of whether the new size is specified on the command line or implied by the size of the device, but only if the file system does not support 64-bit block sizes, or the kernel does not advertise support of meta_bg resizing. Previously we were unconditionally enforcing it when it was implied by the device size, but not if the new size was specified on the command line. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
04cb6f58ce48221d20d0f4c22b6977e7e3e7e614 |
|
23-Mar-2012 |
Sami Liedes <sami.liedes@iki.fi> |
resize2fs: use EXT2_FLAG_64BITS By passing EXT2_FLAG_64BITS to ext2fs_open2() we can avoid some unnecessary redirection in critical paths. While resize2fs does not currently otherwise support so big filesystems that this would matter, passing this flag is entirely harmless and only tells libext2fs that the caller has been recompiled against current headers. With this change the CPU time needed to shrink a 100G filesystem drops by 20%. Signed-off-by: Sami Liedes <sami.liedes@iki.fi> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
7270fbe7fa51cbce01a07d031f03872f314206d1 |
|
24-Feb-2012 |
Andreas Dilger <adilger@whamcloud.com> |
build: fix compile warnings on OSX Clean up some compile warnings related to fstat64(), which is verbosely deprecated on OSX. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
c4012e5a7ace2e1f382c4d46f56e5749758c9a1a |
|
06-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
libext2fs: make ext2fs_open_file() always use 3 arguments instead of varargs Some architectures have narrow mode_t's which can cause some portability warnings with varargs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
9d4507c5b61007df968638623aa1b4c47dae6cf9 |
|
05-Oct-2011 |
Theodore Ts'o <tytso@mit.edu> |
Pass the gettext() function to libcom_err For those e2fsprogs programs which use libcom_err and are internationalized, pass the gettext() function to libcom_err during program initialization. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.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/resize/main.c
|
c859cb1de0d624caa0779fb17d1a53766143136e |
|
16-Sep-2011 |
Lukas Czerner <lczerner@redhat.com> |
e2fsprogs: create open() and stat() helpers In many places we are using #ifdef HAVE_OPEN64 to determine if we can use open64() but that's ugly. This commit creates two new helpers ext2fs_open_file() for open() and ext2fs_stat() for stat(). Also we need new typedef ext2fs_struct_stat for struct stat. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
562f264243f4d4385910b6f06872730214977736 |
|
20-Dec-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: lib/ext2fs/block.c lib/ext2fs/csum.c resize/main.c
|
248eb837d0ffcc89c52356c98afbd1b5f15225c0 |
|
16-Dec-2010 |
Eric Sandeen <sandeen@redhat.com> |
resize2fs: handle exactly-16T filesystems in resize2fs Before we go whole-hog on 64-bit e2fsprogs, I wonder if this is worth considering as a last-minute addition to the 1.41 stream. Currently, mke2fs will shave a block off an exactly-16T device to fit*, but resize2fs does not do the same, leading to some asymmetry. This patch fixes that up, and allows 16T devices to be handled more gracefully in offline resize. (in fact resize2fs will not even open a 16T device, today). *commit 37d17a65ecb4615546b417038190a41bafca7c51 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
db0bdb49f49fc3dd14c12439d934a3403a3be9f1 |
|
19-Jul-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: resize/extent.c
|
8587d393b0f305a8e7c4f4908701af209e261696 |
|
12-Jul-2010 |
Eric Sandeen <sandeen@redhat.com> |
resize2fs: relax requirements for -P output a bit Requiring an immediate pre-fsck before printing a minimum resize size seems a bit draconian; if the fs isn't clean or marked with error, then certainly, but for an informational minimum size, I don't think we need to require a fsck since last mount. I had simply copied the checks from the actual resize path, previously. Installers use this option (-P) to gather minimum resize info, and requiring an actual fsck before use just seems to go too far. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
8728d50657e90e0ca39981106ad617d600b9acad |
|
14-Jun-2010 |
Valerie Aurora Henson <vaurora@redhat.com> |
resize2fs: Fix up to be 64-bit block number safe Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
97d26ce9e3589e9f5fa17014467a9730a884d158 |
|
07-Jun-2010 |
Theodore Ts'o <tytso@mit.edu> |
Merge branch 'maint' into next Conflicts: e2fsck/journal.c e2fsck/pass1.c e2fsck/pass2.c misc/mke2fs.c
|
5fa92bc76888404b161b3fd0fd7e6b63e064badf |
|
31-Mar-2010 |
Eric Sandeen <sandeen@redhat.com> |
resize2fs: don't print minimum size if fs is not clean Right now, resize2fs -P on a dirty filesystem will give you a number; however, it's probably wrong if the fs is not clean: # resize2fs -P myimage.img resize2fs 1.41.9 (22-Aug-2009) Estimated minimum size of the filesystem: 75623 # e2fsck -fy myimage.img e2fsck 1.41.9 (22-Aug-2009) myimage.img: recovering journal Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information myimage.img: ***** FILE SYSTEM WAS MODIFIED ***** myimage.img: 9530/53760 files (0.1% non-contiguous), 24737/98304 blocks # resize2fs -P myimage.img resize2fs 1.41.9 (22-Aug-2009) Estimated minimum size of the filesystem: 32165 We should issue the same "Please run e2fsck ..." message for -P as we do for an actual resize request. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
d7cca6b06f366f998ed43346f9b6fca9e163692f |
|
26-Oct-2009 |
Valerie Aurora Henson <vaurora@redhat.com> |
Convert to use block group accessor functions Convert direct accesses to use the following block group accessor functions: ext2fs_block_bitmap_loc(), ext2fs_inode_bitmap_loc(), ext2fs_inode_table_loc(), ext2fs_bg_itable_unused(), ext2fs_block_bitmap_loc_set(), ext2fs_inode_bitmap_loc_set(), ext2fs_inode_table_loc_set(), ext2fs_bg_free_inodes_count(), ext2fs_ext2fs_bg_used_dirs_count(), ext2fs_bg_free_inodes_count_set(), ext2fs_bg_free_blocks_count_set(), ext2fs_bg_used_dirs_count_set() 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/resize/main.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/resize/main.c
|
1d8af189bd3762c09175ff4d9b6cdd98fe8c8150 |
|
04-Sep-2009 |
Peng Tao <bergwolf@gmail.com> |
resize2fs: calculate minimal fs size only once When running resize2fs -M, no need to recalculate the minimal fs size. Signed-off-by: "Peng Tao" <bergwolf@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
96cdb37e27ff101fb23cefe422b4f77fb55209be |
|
10-Jul-2009 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: If resize2fs fails, tell the user to run e2fsck If the resize operation fails in the middle of the operation, mark the filesystem as needing to be checked, and tell the user that they should run e2fsck -fy on the device. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
3a4d9869d47c462c84688b0f8b15df5ab6f93381 |
|
02-Jul-2009 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: Fix error message so the mountpoint is printed correctly The resize2fs program was freeing the mountpoint information too early, so garbage was getting printed instead of the correct information in an error message. Addresses-Debian-Bug: #535452 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
e2ca097fc641e9be2bbafc3db7fd96e4ac87387a |
|
15-Jun-2009 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: fix miscellaneous memory leaks Fix various memory leaks which were discovered using valgrind. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
0d04d88a8d88fc11120746bc72a5ffb7d7f05cb0 |
|
19-May-2009 |
Eric Sandeen <sandeen@redhat.com> |
resize2fs: don't try to resize below calculated minimum Without a force flag, don't allow resize2fs to even start resizing below what it thinks the minimum safe value is. This may stop resizes which could otherwise proceed with a bit of space still left, but seems like a reasonably safe thing to do. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
fb72556af88bf01459519d1028743c54a71bcca1 |
|
22-Apr-2009 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: Print a warning message if the ftruncate system call fails Resize2fs will attempt to truncate an image file of a filesystem down to size for the convenience of the system administrator. If the truncate operation fails, print a warning message. This also avoids a gcc warning message. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
279a000fdcfd5fa79f18c975978d1c6bfa3113a3 |
|
11-Oct-2008 |
Eric Sandeen <sandeen@redhat.com> |
resize2fs: check for bogus new_size If we don't check for new_size == 0, bogus values send resize2fs into a tailspin: resize2fs 1.41.0 (10-Jul-2008) Illegal block number passed to ext2fs_test_block_bitmap #1 for block bitmap for /tmp/tmp.lntZtMFvz8/fake-disk ...the same message repeated zillion times... Probably should see where that loop is, but at any rate we should error-check parse_num_blocks. Thanks to Petr Muller for reporting this. Addresses-Red-Hat-Bugzilla: #465984 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
f38cf3cb34addaa53d1f855d7607b151082a4229 |
|
01-Sep-2008 |
Theodore Ts'o <tytso@mit.edu> |
Only use the test_io manager if the right environment variables are set In order to make it possible for the test_io manager to be compiled in by default, make all of the programs that might try to use it to only do so if the environment variables TEST_IO_FLAGS and TEST_IO_DEBUG are set. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.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/resize/main.c
|
a8d632a4e9fd528631d2ce8c28b4aade8da0a862 |
|
17-Jun-2008 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: Prohibit the combination of flex_bg and !resize_inode This is a potentially a difficult case for resize2fs to handle, so prohibit it for now. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
74128f8d7e93fe633aa87951319a4afd252a4494 |
|
17-Jun-2008 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: Fix support for the uninit_bg feature Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
2c25f7e75ad10078ecfed08b9295fb1904c8bb80 |
|
07-Jun-2008 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall warnings in resize2fs Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
2930dad2b20fe4b04ee3e9f5c7a76d8bf63342b0 |
|
18-Apr-2008 |
Theodore Ts'o <tytso@mit.edu> |
Rename the feature uninit_groups to uninit_bg Allow the old name of uninit_groups when converting feature names for backwards compatibility for scripts running mke2fs and tune2fs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
236efede1922fa173b3c2f20d9e0886856664ab4 |
|
22-Oct-2007 |
Jose R. Santos <jrs@us.ibm.com> |
Make resize2fs 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/resize/main.c
|
199ddaaa445e14fca8113b0db85e2576267071c9 |
|
13-Mar-2008 |
Josef Bacik <jbacik@redhat.com> |
resize2fs: Add options to print (and resizing to) the minimum filesystem size Add the -P option to print the minimum filesystem size and exit. Add the -M option to force resizing the filesystem to the minimum filesystem size. Signed-off-by: Josef Back <jbacik@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
261cd3964fe1421bc8b9024c84888a5f1cba4195 |
|
21-Jan-2008 |
Theodore Ts'o <tytso@mit.edu> |
Explicitly check for ftruncate64() in configure.in Apparently Mac OS 10.5 defines fstat64(), but not ftruncate64(), causing resize2fs to fail to build. So check explicitly for ftruncate64(), and fall back to ftruncate() if necessary. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
98dca6c552d73cc39a3cb9d16947b2df5c55ef21 |
|
21-Jan-2008 |
Theodore Ts'o <tytso@mit.edu> |
resize2fs: Add sanity check for off_t overflow before truncating If we can't use ftruncate64(), and have to use ftruncate() instead, make sure that we don't accidentally truncate the size when we chop it down to an off_t before calling ftruncate(), lest we severely damage a filesystem image file. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.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/resize/main.c
|
96c6a3acd377698cb99ffd9925bec9b20ca4f6f9 |
|
19-May-2007 |
Theodore Ts'o <tytso@mit.edu> |
Store the RAID stride value in the superblock and take advantage of it Store the RAID stride value when a filesystem is created with a requested RAID stride, and then use it automatically in resize2fs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.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/resize/main.c
|
46c5490d13eef1a80634995fd52fd35a2ff55e7f |
|
14-May-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add RAID stride support to resize2fs Resize2fs will now automatically determine the RAID stride parameter that had been used to create the filesystem, and use that for newly created block groups. The RAID stride parameter may also be manually specified on the command line using the new -S option to resize2fs. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.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/resize/main.c
|
5d2ef12f6ed4c35c7e6baa7cb83ced738a3f1976 |
|
19-Mar-2006 |
Theodore Ts'o <tytso@mit.edu> |
Change resize2fs open modes for mounted and unmounted filesystems If the filesystem is mounted, open it in read-only mode since the userspace program should not try to modify it directly. If the filesystem is not mounted, open it in exclusive mode to avoid potential problems (such as someone trying to mount the filesystem while it is being resized). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
bf69235ad0073c80386b70caba0e1b58e5f85697 |
|
18-Mar-2006 |
Theodore Ts'o <tytso@mit.edu> |
Add support for on-line resizing to resize2fs If the filesystem is mounted, attempt to use the on-line resizing ioctls to resize the filesystem. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
fe07357f590d2606fe9641e277c171c4f7dcc512 |
|
29-Dec-2005 |
Theodore Ts'o <tytso@mit.edu> |
Make resize2fs expand or truncate a file containing a filesystem. (Addresses Debian Bug: #271607) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/resize/main.c
|
f35fd3d5eeb3e35660ea87adbc170978c3cdf9e3 |
|
09-May-2005 |
Theodore Ts'o <tytso@mit.edu> |
Fix some minor typo's and grammar's strings, and remove debugging strings from needing to be translated. Patch is from Benno Schulenberg.
/external/e2fsprogs/resize/main.c
|
55f4cbd96e0029f0ff67c4913192d87bf52fd149 |
|
05-Jan-2005 |
Theodore Ts'o <tytso@mit.edu> |
Add new function in e2p for parsing the number of blocks on the command line for mke2fs and resize2fs, and use this function so that filesystem size inputs to e2fsprogs command line programs are parsed consistently.
/external/e2fsprogs/resize/main.c
|
2e8ca9a26b0bd7dae546a3f9a98df67b043fe3be |
|
30-Nov-2004 |
Theodore Ts'o <tytso@mit.edu> |
Add support for passing options to the io layer using the URL syntax. For example, /tmp/test.img?offset=1024. Multiple options can separated using the & character, although at the moment the only option implemented is the offset option in the unix_io layer.
/external/e2fsprogs/resize/main.c
|
544349270e4c74a6feb971123884a8cf5052a7ee |
|
07-Dec-2003 |
Theodore Ts'o <tytso@mit.edu> |
Fix gcc -Wall nitpicks
/external/e2fsprogs/resize/main.c
|
a7ccdff8e128c24564011d760a996496b0a981b3 |
|
09-Jul-2003 |
Theodore Ts'o <tytso@mit.edu> |
In mke2fs and resize2fs, round the default size of the filesystem to be an even multiple of the pagesize to work around a potential Linux kernel bug. Use the testio manager in mke2fs if CONFIG_TESTIO_DEBUG is set.
/external/e2fsprogs/resize/main.c
|
792a088162dcbd4e8f062e6cd42427e42c428ef7 |
|
14-May-2003 |
Theodore Ts'o <tytso@mit.edu> |
main.c (main): Add the ability to specify units to the size parameter, and make the error and information messages display explicitly the blocksize used by the filesystem, to avoid confusion. (Addresses Debian bug: #189814)
/external/e2fsprogs/resize/main.c
|
ddc32a045bd3bd35968ace2dbe22179470baec0b |
|
04-May-2003 |
Theodore Ts'o <tytso@mit.edu> |
Add Czech translation. Remove "NYC" translation. Add Czech translation from Miloslav Trmac <mitr@volny.cz> Random NLS and other display fixes from Miloslav.
/external/e2fsprogs/resize/main.c
|
76dd5e5c2842fb1a7b858aad3e68b5e9c16890c9 |
|
31-Oct-2002 |
Theodore Ts'o <tytso@mit.edu> |
Add support for the meta_bg feature flag to the resize2fs program. Fix bug in meta_bg support in mke2fs, e2fsck, and dumpe2fs; we were incorrectly reserving the legacy block groups desriptor blocks.
/external/e2fsprogs/resize/main.c
|
41cce580f303552033a56520e22aeee06f08125e |
|
29-May-2002 |
Theodore Ts'o <tytso@mit.edu> |
main.c (main): If the filesystem has errors or is not valid, then require an e2fsck -f run to be done on the filesystem more.
/external/e2fsprogs/resize/main.c
|
1608211222685c65f3989f1f8d32e8f72d711c3d |
|
09-Apr-2002 |
Theodore Ts'o <tytso@mit.edu> |
main.c (main): If resize_fs returns an error, don't print the message stating that the filesystem was resized after printing the error.
/external/e2fsprogs/resize/main.c
|
116db1b513f6901415d1f5f8c01fc297d7cc64a4 |
|
01-Apr-2002 |
Theodore Ts'o <tytso@mit.edu> |
main.c (main): If we are resizing a plain file which is smaller than the requested size, then we will attempt to transparently extend the filesize in a sparse fashion by writing a block at the end of the requested part of the filesystem. main.c (main), resize2fs.c (resize_fs), resize2fs.h: Change the function prototype of resize_fs() so that it can modify the new_size parameter with the actual new size of the filesystem after the resize operation. (This can sometimes be less than the requested new size if there isn't enough space to create the necessary block group metadata for that last bit of disk space.) Resize2fs now prints the actual new size of the filesystem when it finishes.
/external/e2fsprogs/resize/main.c
|
48e08e034ead9c3518fe3e130b2ff5012d31e055 |
|
11-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c: main.c (main): Use ext2fs_sync_device() instead of calling the BLKFLSBUF ioctl directly.
/external/e2fsprogs/resize/main.c
|
dfcdc32f8d6623a35a9e66f503c535e4081b7266 |
|
11-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, libext2fs.texinfo: libext2fs.texinfo: Change ino_t to ext2_ino_t ChangeLog, extent.c, main.c, resize2fs.c: extent.c, main.c, resize2fs.c: Change ino_t to ext2_ino_t. ChangeLog, mke2fs.c: mke2fs.c: Change ino_t to ext2_ino_t. ChangeLog, test_icount.c, test_rel.c: test_icount.c, test_rel.c: Change ino_t to ext2_ino_t
/external/e2fsprogs/resize/main.c
|
e5b38a5fafe4807b54d90a2e70bddf4b41b1695b |
|
01-Jan-2001 |
Theodore Ts'o <tytso@mit.edu> |
Many files: ext2fs.h: Remove definition of ext2fs_sb. Note: this may break source (but not binary) compatibility of some users of the ext2 library. They should just simply do a global search and replace of struct ext2fs_sb with struct ext2_super_block, and use their own private copy of ext2_fs.h if they aren't already. closefs.c, initialize.c, link.c, newdir.c, openfs.c, swapfs.c: Replace use of ext2fs_sb with ext2_super_block. ChangeLog, main.c: main.c (main): Replace use of struct ext2fs_sb with struct ext2_super_block.
/external/e2fsprogs/resize/main.c
|
a13575f4d29a908add19ea27baa102bc6944ee30 |
|
13-Jun-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, extent.c, main.c, resize2fs.c, resize2fs.h: main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
/external/e2fsprogs/resize/main.c
|
0cee8a5c423c2a1054c7366e74870592ec8db95e |
|
06-Apr-2000 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Update copyright of files in preparation for release of resize2fs. Also removed the (obsolete) beta-test check that had been in the code, as well as the old spec files used to package the separate distribution of resize2fs. Makefile.in: No longer build resize2fs.static, since there's no real point in it any more. Modified Files: ChangeLog Makefile.in extent.c main.c resize2fs.8.in resize2fs.c resize2fs.h sim_progress.c test_extent.c Removed Files: e2fsprogs-1.12.spec pq.gif resize2fs.spec version.h
/external/e2fsprogs/resize/main.c
|
373b8337c7b6c6243810be250083fa4773891e92 |
|
03-Apr-2000 |
Theodore Ts'o <tytso@mit.edu> |
Many files: badblocks.c, dumpe2fs.c, e2label.c, mke2fs.c, tune2fs.c, uuidgen.c: For platforms that don't define optarg.h, manually define optarg and optind. ChangeLog, main.c: main.c: For platforms that don't define optarg.h, manually define optarg and optind. ChangeLog, unix.c: unix.c: For platforms that don't define optarg.h, manually define optarg and optind.
/external/e2fsprogs/resize/main.c
|
0a617317ee6e947bd9f975c861599dd3dc41aa13 |
|
02-Feb-2000 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c, resize2fs.h: resize2fs.h: Remove unneeded #include of linux/fs.h main.c: Fix gcc -Wall bug. main() should return an int.
/external/e2fsprogs/resize/main.c
|
7e71e4c545847b48b3dc04970aaf405f6f0e7b7d |
|
30-Sep-1998 |
Theodore Ts'o <tytso@mit.edu> |
.del-resize2fs.spec~524d144b: Fix up version number for 1.03 ChangeLog, main.c: Print a feedback message stating the new size of the filesystem when we're through.
/external/e2fsprogs/resize/main.c
|
612ff39bfdafc70080cc08d538c2c40752762e99 |
|
29-Sep-1998 |
Theodore Ts'o <tytso@mit.edu> |
main.c: Remove timebomb for production version. resize2fs.8.in, .del-version.h~524d144b: Update for production version of resize2fs.
/external/e2fsprogs/resize/main.c
|
2e561e024947b75864579bf4fea10c848ca0169e |
|
08-Apr-1998 |
Theodore Ts'o <tytso@mit.edu> |
main.c, .del-version.h~524d144b: Add expire time checking to the resize2fs driver program. Change the version number to be version 1.02.
/external/e2fsprogs/resize/main.c
|
2a3013b80704b7d9128cbe2c746550e570eb5a02 |
|
30-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, test_icount.c, test_icount.h: test_icount.h (do_dump, do_validate): Add prototypes to fix -Wall warnings. test_icount.c: Fix -Wall warnings. ChangeLog, extent.c, main.c: extent.c (extent_cmp): Add const to cast to prevent -Wall warning. main.c (check_mount): Rename function argument to prevent -Wall warning.
/external/e2fsprogs/resize/main.c
|
101c84f2e049bffcdb6c5ba1784842cdd50dbf05 |
|
24-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c, resize2fs.c: main.c (main): Check to make sure we can really resize this filesystem. If there are compatible feature sets that we don't support, we need to abort. resize2fs.c: Change to use the new prototype required by block_iterate2 (which uses blkcnt_t for the blockcount). version.h, RELEASE-NOTES: Interim commit of changes to date.
/external/e2fsprogs/resize/main.c
|
ba0af7566347b3c2366cbb18715f465f70089019 |
|
09-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c, .del-resize2fs-1.12.spec~70080ffd, resize2fs.8.in: Decouple version numbers from the base e2fsprogs release.
/external/e2fsprogs/resize/main.c
|
59fa3695d708a2342436fcb227730d8c47040d8e |
|
08-Mar-1998 |
Theodore Ts'o <tytso@mit.edu> |
main.c, ChangeLog: Add copyright notice.
/external/e2fsprogs/resize/main.c
|
0e14f78e6600ece59f0582a922d65752a7433130 |
|
27-Feb-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, main.c: Makefile.in: Add rule to build a static version of resize2fs. Update dependency rules. main.c: #include ../version.h, instead of using a hard-coded version string.
/external/e2fsprogs/resize/main.c
|
3b627e8d6735fd81906117d580ee70292b2cfaaf |
|
24-Feb-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c, resize2fs.c, resize2fs.h: Change the progress function to return an errcode_t; this allows the progress function to return a error indicating a user-requested cancel.
/external/e2fsprogs/resize/main.c
|
f4b2a6db3f13f4210697bcd273086006c719929b |
|
21-Feb-1998 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, main.c, resize2fs.8.in, resize2fs.c: main.c (check_mount, main): Resize2fs now checks the size of the partition, and uses this as a default new_size of the partition if one is not specified. Resize2fs will not let you resize a mounted partition. resize2fs.c: Change how the progress function for the INODE_SCAN pass is performed, so that the maximum size is never zero. resize2fs.8.in: Updated man page.
/external/e2fsprogs/resize/main.c
|
a8519a2dbec429846d89fee581a2ecb829904cd2 |
|
16-Feb-1998 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Major reoganization of how resizing works. Functions in ext2_block_move.c, and ext2_inode_move.c moved into resize2fs.c. Multiple passes in those two files also combined into a single inode scanning pass. Made the inode table moving function better handling the case where it needs to abort mid-operation. When moving blocks around, made the block allocation function preferentially avoid the old group descriptor blocks, to make resize2fs more robust.
/external/e2fsprogs/resize/main.c
|
63b44fbe303ea00118cbe24cbbcde351a9bc0aac |
|
13-Feb-1998 |
Theodore Ts'o <tytso@mit.edu> |
Many files: resize2fs.c, resize2fs.h, ext2_block_move.c, ext2_inode_move.c, main.c: Reorganize how the progress functions are called.
/external/e2fsprogs/resize/main.c
|
80c0fc3492278168448017e79730905aa5b9b62b |
|
03-Nov-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: resize2fs.c, ext2_block_move.c ext2_inode_move.c: Only include printf statements if RESIZE2FS_DEBUG is defined. main.c: Don't read in the bitmaps since resize2fs.c does that. e2label.c, mke2fs.c: Adjust header files.
/external/e2fsprogs/resize/main.c
|
c762c8e63216a301c9de7d24c6136d8370378a08 |
|
17-Jun-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: Checkin of work to date. (Pretty much completely working now.)
/external/e2fsprogs/resize/main.c
|
05e112a11b6508c2b12d5d4ee0c322171db9b538 |
|
14-Jun-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, version.h: Allow people to set the version.h to something like 1.10-PLUS. .del-inodemap.c~24510e64, main.c, resize2fs.c, resize2fs.h: More interim work. All is functioning except progress meter.
/external/e2fsprogs/resize/main.c
|
052db4b76e552682c1ad94ff4943faa98c958343 |
|
12-Jun-1997 |
Theodore Ts'o <tytso@mit.edu> |
Makefile.in, .del-inodemap.c~24510e64, main.c, resize2fs.c, resize2fs.h: New snapshot (almost fully functional)
/external/e2fsprogs/resize/main.c
|
1e1da29fbd4204a267ebd7c64d37e1f95a9dad08 |
|
09-Jun-1997 |
Theodore Ts'o <tytso@mit.edu> |
Many files: bmove.c (ext2fs_move_blocks): New function which takes a bitmap of blocks which need to be moved, and moves those blocks to another location in the filesystem. rs_bitmap.c (ext2fs_resize_generic_bitmap): When expanding a bitmap, make sure all of the new parts of the bitmap are zero. bitmaps.c (ext2fs_copy_bitmap): Fix bug; the destination bitmap wasn't being returned to the caller. alloc_tables.c (ext2fs_allocate_group_table): Add new function ext2fs_allocate_group_table() which sets the group tables for a particular block group. The relevant code was factored out of ext2fs_allocate_tables(). dblist.c (make_dblist): Adjust the initial size of the directory block list to be a bit more realize (ten plus twice the number of directories in the filesystem). Check in interim work.
/external/e2fsprogs/resize/main.c
|
24b2c7a7a14cec8480a75af7d535cf267e6abe1f |
|
07-Jun-1997 |
Theodore Ts'o <tytso@mit.edu> |
ChangeLog, Makefile.in, configure.in: configure.in (rmakefile): Added (optional) private directory for resize2fs. Makefile.in: Change recursive descent rules to check to see if a directory exists before trying to make it. Many files: Initial checkin of work done to date.
/external/e2fsprogs/resize/main.c
|