~ubuntu-branches/ubuntu/edgy/e2fsprogs/edgy-updates

« back to all changes in this revision

Viewing changes to lib/ext2fs/inode.c

  • Committer: Bazaar Package Importer
  • Author(s): Theodore Y. Ts'o
  • Date: 2006-05-29 11:07:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060529110753-uvkuaxqr96y31kqy
Tags: 1.39-1
* New upstream version
* Fix debugfs's dump_unused command so it will not core dump on
  filesystems with a 64k blocksize
* Clarified and improved man pages, including spelling errors
  (Closes: #368392, #368393, #368394, #368179)
* New filesystems are now created with directory indexing and
  on-line resizing enabled by default
* Fix previously mangled wording in an older Debian changelog entry
* Fix doc-base pointer to the top-level html file (Closes: #362544, #362970)

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        }
165
165
        if (scan->fs->badblocks && scan->fs->badblocks->num)
166
166
                scan->scan_flags |= EXT2_SF_CHK_BADBLOCKS;
 
167
        if (EXT2_HAS_COMPAT_FEATURE(fs->super, 
 
168
                                    EXT2_FEATURE_COMPAT_LAZY_BG))
 
169
                scan->scan_flags |= EXT2_SF_DO_LAZY;
167
170
        *ret_scan = scan;
168
171
        return 0;
169
172
}
407
410
                        return retval;
408
411
        }
409
412
        /*
410
 
         * This is done outside the above if statement so that the
411
 
         * check can be done for block group #0.
 
413
         * These checks are done outside the above if statement so 
 
414
         * they can be done for block group #0.
412
415
         */
 
416
        if ((scan->scan_flags & EXT2_SF_DO_LAZY) &&
 
417
            (scan->fs->group_desc[scan->current_group].bg_flags &
 
418
             EXT2_BG_INODE_UNINIT))
 
419
                goto force_new_group;
413
420
        if (scan->current_block == 0) {
414
421
                if (scan->scan_flags & EXT2_SF_SKIP_MISSING_ITABLE) {
415
422
                        goto force_new_group;