X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext3-uninit-2.6.9.patch;h=eb9a75d2090ae9a26359d96182c95639d343e141;hb=9c476e723c92a7c300c420fa612433f7643995fb;hp=2f0431191c5e80ee2b83e90d05d10095fff4fbd4;hpb=58744d506d55ecbe2a36bb9d86b1e043f9535111;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.9.patch b/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.9.patch index 2f04311..eb9a75d 100644 --- a/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.9.patch +++ b/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.9.patch @@ -535,9 +535,9 @@ Index: linux-2.6.9-67.0.15/fs/ext3/mballoc.c &meta_group_info[j]->bb_state); @@ -2945,9 +2957,17 @@ int ext3_mb_mark_diskspace_used(struct e + mb_set_bits(NULL, bitmap_bh->b_data, ac->ac_b_ex.fe_start, ac->ac_b_ex.fe_len); - spin_lock(sb_bgl_lock(sbi, ac->ac_b_ex.fe_group)); + if (gdp->bg_flags & cpu_to_le16(EXT3_BG_BLOCK_UNINIT)) { + gdp->bg_flags &= cpu_to_le16(~EXT3_BG_BLOCK_UNINIT); + gdp->bg_free_blocks_count =