Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=19058
[fs/lustre-release.git]
/
ldiskfs
/
kernel_patches
/
patches
/
ext3-uninit-2.6.22-vanilla.patch
diff --git
a/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.22-vanilla.patch
b/ldiskfs/kernel_patches/patches/ext3-uninit-2.6.22-vanilla.patch
index
1fb9c00
..
069f1ba
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/ext3-uninit-2.6.22-vanilla.patch
+++ b/
ldiskfs/kernel_patches/patches/ext3-uninit-2.6.22-vanilla.patch
@@
-225,7
+225,7
@@
Index: linux-2.6.22.14/fs/ext3/group.h
+/*
+ * linux/fs/ext3/group.h
+ *
+/*
+ * linux/fs/ext3/group.h
+ *
-+ * Copyright
(C) 2007 Cluster File Systems, Inc
++ * Copyright
2008 Sun Microsystems, Inc.
+ *
+ * Author: Andreas Dilger <adilger@clusterfs.com>
+ */
+ *
+ * Author: Andreas Dilger <adilger@clusterfs.com>
+ */
@@
-535,9
+535,9
@@
Index: linux-2.6.22.14/fs/ext3/mballoc.c
&meta_group_info[j]->bb_state);
@@ -2945,9 +2957,17 @@ int ext3_mb_mark_diskspace_used(struct e
&meta_group_info[j]->bb_state);
@@ -2945,9 +2957,17 @@ int ext3_mb_mark_diskspace_used(struct e
- ac->ac_b_ex.fe_start, ac->ac_b_ex.fe_len);
+ 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 =
+ 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 =