Merge branch 'block-summary'
authorCharles Manning <cdhmanning@gmail.com>
Thu, 28 Apr 2011 03:57:52 +0000 (15:57 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 28 Apr 2011 03:57:52 +0000 (15:57 +1200)
Conflicts:
yaffs_vfs_multi.c

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
1  2 
yaffs_guts.c
yaffs_guts.h
yaffs_vfs_multi.c

diff --cc yaffs_guts.c
Simple merge
diff --cc yaffs_guts.h
@@@ -278,9 -282,12 +280,10 @@@ struct yaffs_block_info 
                                   Block should be prioritised for GC */
        u32 chunk_error_strikes:3;      /* How many times we've had ecc etc
                                failures on this block and tried to reuse it */
+       u32 has_summary:1;      /* The block has a summary */
  
 -#ifdef CONFIG_YAFFS_YAFFS2
        u32 has_shrink_hdr:1;   /* This block has at least one shrink header */
        u32 seq_number;         /* block sequence number for yaffs2 */
 -#endif
  
  };
  
@@@ -2835,8 -2863,20 +2838,9 @@@ static struct super_block *yaffs_intern
        if (options.tags_ecc_overridden)
                param->no_tags_ecc = !options.tags_ecc_on;
  
 -#ifdef CONFIG_YAFFS_EMPTY_LOST_AND_FOUND
        param->empty_lost_n_found = 1;
 -#endif
 -
 -#ifdef CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING
 -      param->refresh_period = 0;
 -#else
        param->refresh_period = 500;
 -#endif
 -
 -#ifdef CONFIG_YAFFS__ALWAYS_CHECK_CHUNK_ERASED
 -      param->always_check_erased = 1;
 -#endif
+       param->disable_summary = options.disable_summary;
  
        if (options.empty_lost_and_found_overridden)
                param->empty_lost_n_found = options.empty_lost_and_found;