Whamcloud - gitweb
LU-12477 ldiskfs: remove obsolete ext4 patches
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / rhel6.3 / ext4-remove-cond_resched-calls.patch
diff --git a/ldiskfs/kernel_patches/patches/rhel6.3/ext4-remove-cond_resched-calls.patch b/ldiskfs/kernel_patches/patches/rhel6.3/ext4-remove-cond_resched-calls.patch
deleted file mode 100644 (file)
index b854280..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-Index: linux-2.6.18.i386/fs/ext4/ialloc.c
-===================================================================
---- linux-2.6.18.i386.orig/fs/ext4/ialloc.c
-+++ linux-2.6.18.i386/fs/ext4/ialloc.c
-@@ -1057,7 +1057,6 @@ unsigned long ext4_count_free_inodes (st
-               if (!gdp)
-                       continue;
-               desc_count += ext4_free_inodes_count(sb, gdp);
--              cond_resched();
-       }
-       return desc_count;
- #endif
-Index: linux-2.6.18.i386/fs/ext4/super.c
-===================================================================
---- linux-2.6.18.i386.orig/fs/ext4/super.c
-+++ linux-2.6.18.i386/fs/ext4/super.c
-@@ -3100,11 +3100,9 @@ static int ext4_statfs(struct dentry *de
-                * block group descriptors.  If the sparse superblocks
-                * feature is turned on, then not all groups have this.
-                */
--              for (i = 0; i < ngroups; i++) {
-+              for (i = 0; i < ngroups; i++)
-                       overhead += ext4_bg_has_super(sb, i) +
-                               ext4_bg_num_gdb(sb, i);
--                      cond_resched();
--              }
-               /*
-                * Every block group has an inode bitmap, a block