1 Index: linux-2.6.16.60-0.31/fs/ext3/mballoc.c
2 ===================================================================
3 --- linux-2.6.16.60-0.31.orig/fs/ext3/mballoc.c
4 +++ linux-2.6.16.60-0.31/fs/ext3/mballoc.c
5 @@ -1170,7 +1170,10 @@ static inline void mb_clear_bits(spinloc
9 - mb_clear_bit_atomic(lock, cur, bm);
11 + mb_clear_bit_atomic(lock, cur, bm);
13 + mb_clear_bit(cur, bm);
17 @@ -1188,7 +1191,10 @@ static inline void mb_set_bits(spinlock_
21 - mb_set_bit_atomic(lock, cur, bm);
23 + mb_set_bit_atomic(lock, cur, bm);
25 + mb_set_bit(cur, bm);
29 @@ -2974,10 +2980,9 @@ int ext3_mb_mark_diskspace_used(struct e
33 - mb_set_bits(sb_bgl_lock(sbi, ac->ac_b_ex.fe_group), bitmap_bh->b_data,
34 - ac->ac_b_ex.fe_start, ac->ac_b_ex.fe_len);
36 spin_lock(sb_bgl_lock(sbi, ac->ac_b_ex.fe_group));
37 + mb_set_bits(NULL, bitmap_bh->b_data, ac->ac_b_ex.fe_start,
38 + ac->ac_b_ex.fe_len);
39 if (gdp->bg_flags & cpu_to_le16(EXT3_BG_BLOCK_UNINIT)) {
40 gdp->bg_flags &= cpu_to_le16(~EXT3_BG_BLOCK_UNINIT);
41 gdp->bg_free_blocks_count =