Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/e2fsprogs/old_e2fsprogs/e2fsck.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/e2fsprogs/old_e2fsprogs/e2fsck.c
r2725 r3232 29 29 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 30 30 */ 31 32 /* 33 //usage:#define e2fsck_trivial_usage 34 //usage: "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] " 35 //usage: "[-I inode_buffer_blocks] [-P process_inode_size] " 36 //usage: "[-l|-L bad_blocks_file] [-C fd] [-j external_journal] " 37 //usage: "[-E extended-options] device" 38 //usage:#define e2fsck_full_usage "\n\n" 39 //usage: "Check ext2/ext3 file system\n" 40 //usage: "\n -p Automatic repair (no questions)" 41 //usage: "\n -n Make no changes to the filesystem" 42 //usage: "\n -y Assume 'yes' to all questions" 43 //usage: "\n -c Check for bad blocks and add them to the badblock list" 44 //usage: "\n -f Force checking even if filesystem is marked clean" 45 //usage: "\n -v Verbose" 46 //usage: "\n -b superblock Use alternative superblock" 47 //usage: "\n -B blocksize Force blocksize when looking for superblock" 48 //usage: "\n -j journal Set location of the external journal" 49 //usage: "\n -l file Add to badblocks list" 50 //usage: "\n -L file Set badblocks list" 51 */ 31 52 32 53 #include "e2fsck.h" /*Put all of our defines here to clean things up*/ … … 561 582 /* 562 583 * Return the given node's successor node---the node which has the 563 * next key in the theleft to right ordering. If the node has584 * next key in the left to right ordering. If the node has 564 585 * no successor, a null pointer is returned rather than a pointer to 565 586 * the nil node. … … 11557 11578 */ 11558 11579 if (!(fs->super->s_feature_compat & 11559 EXT2_FEATURE_COMPAT_RESIZE_INO DE)) {11580 EXT2_FEATURE_COMPAT_RESIZE_INO)) { 11560 11581 if (fs->super->s_reserved_gdt_blocks) { 11561 11582 pctx.num = fs->super->s_reserved_gdt_blocks; … … 11573 11594 if (retval) { 11574 11595 if (fs->super->s_feature_compat & 11575 EXT2_FEATURE_COMPAT_RESIZE_INO DE)11596 EXT2_FEATURE_COMPAT_RESIZE_INO) 11576 11597 ctx->flags |= E2F_FLAG_RESIZE_INODE; 11577 11598 return; … … 11583 11604 */ 11584 11605 if (!(fs->super->s_feature_compat & 11585 EXT2_FEATURE_COMPAT_RESIZE_INO DE)) {11606 EXT2_FEATURE_COMPAT_RESIZE_INO)) { 11586 11607 for (i=0; i < EXT2_N_BLOCKS; i++) { 11587 11608 if (inode.i_block[i])
Note:
See TracChangeset
for help on using the changeset viewer.