Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/e2fsprogs/old_e2fsprogs/e2fsck.c

    r2725 r3232  
    2929 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
    3030 */
     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*/
    3152
    3253#include "e2fsck.h" /*Put all of our defines here to clean things up*/
     
    561582/*
    562583 * Return the given node's successor node---the node which has the
    563  * next key in the the left to right ordering. If the node has
     584 * next key in the left to right ordering. If the node has
    564585 * no successor, a null pointer is returned rather than a pointer to
    565586 * the nil node.
     
    1155711578     */
    1155811579    if (!(fs->super->s_feature_compat &
    11559           EXT2_FEATURE_COMPAT_RESIZE_INODE)) {
     11580          EXT2_FEATURE_COMPAT_RESIZE_INO)) {
    1156011581        if (fs->super->s_reserved_gdt_blocks) {
    1156111582            pctx.num = fs->super->s_reserved_gdt_blocks;
     
    1157311594    if (retval) {
    1157411595        if (fs->super->s_feature_compat &
    11575             EXT2_FEATURE_COMPAT_RESIZE_INODE)
     11596            EXT2_FEATURE_COMPAT_RESIZE_INO)
    1157611597            ctx->flags |= E2F_FLAG_RESIZE_INODE;
    1157711598        return;
     
    1158311604     */
    1158411605    if (!(fs->super->s_feature_compat &
    11585           EXT2_FEATURE_COMPAT_RESIZE_INODE)) {
     11606          EXT2_FEATURE_COMPAT_RESIZE_INO)) {
    1158611607        for (i=0; i < EXT2_N_BLOCKS; i++) {
    1158711608            if (inode.i_block[i])
Note: See TracChangeset for help on using the changeset viewer.