[kernel/f16] Apply patch to fix lockdep reports from ext4 (rhbz 732572)

Dave Jones davej at fedoraproject.org
Fri Sep 2 15:52:58 UTC 2011


commit 29656445beaba8ef78df7926114ab48e55f31606
Author: Dave Jones <davej at redhat.com>
Date:   Fri Sep 2 11:52:43 2011 -0400

    Apply patch to fix lockdep reports from ext4 (rhbz 732572)

 ext4-lockdep.patch |   12 ++++++++++++
 kernel.spec        |    6 ++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/ext4-lockdep.patch b/ext4-lockdep.patch
new file mode 100644
index 0000000..357e22c
--- /dev/null
+++ b/ext4-lockdep.patch
@@ -0,0 +1,12 @@
+--- linux-3.0.noarch/fs/ext4/inode.c~	2011-09-02 11:50:56.206445843 -0400
++++ linux-3.0.noarch/fs/ext4/inode.c	2011-09-02 11:51:31.224323827 -0400
+@@ -121,9 +121,6 @@ void ext4_evict_inode(struct inode *inod
+ 
+ 	trace_ext4_evict_inode(inode);
+ 
+-	mutex_lock(&inode->i_mutex);
+-	ext4_flush_completed_IO(inode);
+-	mutex_unlock(&inode->i_mutex);
+ 	ext4_ioend_wait(inode);
+ 
+ 	if (inode->i_nlink) {
diff --git a/kernel.spec b/kernel.spec
index 7ee812f..14f9fe2 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -647,6 +647,8 @@ Patch09: linux-2.6-upstream-reverts.patch
 Patch160: linux-2.6-32bit-mmap-exec-randomization.patch
 Patch161: linux-2.6-i386-nx-emulation.patch
 
+Patch200: ext4-lockdep.patch
+
 Patch202: linux-2.6-debug-taint-vm.patch
 
 Patch383: linux-2.6-defaults-aspm.patch
@@ -1219,6 +1221,7 @@ ApplyPatch linux-2.6-i386-nx-emulation.patch
 #
 
 # ext4
+ApplyPatch ext4-lockdep.patch
 
 # xfs
 
@@ -2036,6 +2039,9 @@ fi
 # and build.
 
 %changelog
+* Fri Sep 02 2011 Dave Jones <davej at redhat.com>
+- Apply patch to fix lockdep reports from ext4 (rhbz 732572)
+
 * Thu Sep 01 2011 Dave Jones <davej at redhat.com>
 - utrace: s390: fix the compile problem with traps.c (rhbz 735118)
 


More information about the scm-commits mailing list