[Ocfs2-tools-commits] branch, master, updated. ocfs2-tools-1.4.0-558-g2d741da

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jul 28 11:37:52 PDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Tools to manage the ocfs2 filesystem.".

The branch, master has been updated
       via  2d741da9367b33f559802dfabe62d96f6adc7777 (commit)
      from  a3d1eca48cc621051efc312eeb5a587af1741c8b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2d741da9367b33f559802dfabe62d96f6adc7777
Author: Goldwyn Rodrigues <rgoldwyn at gmail.com>
Date:   Mon Jul 26 15:19:25 2010 -0500

    fsck.ocfs2: Change local variable datatype to avoid infinite loop
    
    fsck on large filesystems goes in an infinite loop.
    The problem is in verify_bitmap_descs(). i, a local variable is
    declared as uint16_t and is compared with
    ocfs2_cluster_group_sizes.cgs_cluster_groups which is uint32_t.
    When cgs_cluster_groups is greater than 65535, i overflows and wraps
    creating an infinite loop of the following:
    
            for (i = 0, blkno = ost->ost_fs->fs_first_cg_blkno;
                 i < cgs.cgs_cluster_groups;
                 i++, blkno = i * ocfs2_clusters_to_blocks(ost->ost_fs,
                                                           cgs.cgs_cpg)) {
    
    Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>
    Signed-off-by: Mark Fasheh <mfasheh at suse.com>
    Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>

-----------------------------------------------------------------------

Summary of changes:
 fsck.ocfs2/pass0.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Tools to manage the ocfs2 filesystem.



More information about the Ocfs2-tools-commits mailing list