]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
one more 2.6.23 patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Dec 2007 06:06:59 +0000 (22:06 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 13 Dec 2007 06:06:59 +0000 (22:06 -0800)
queue-2.6.23/series
queue-2.6.23/xfs-make-xfsbufd-threads-freezable.patch [new file with mode: 0644]

index 2805cf1ee38c7d53ff13f1ecce2c961ce6356f23..723074369268079175d90026dc10474ef6dcb147 100644 (file)
@@ -57,3 +57,4 @@ libata-kill-spurious-ncq-completion-detection.patch
 xfrm-fix-leak-of-expired-xfrm_states.patch
 netfilter-xt_tcpmss-remove-network-triggerable-warn_on.patch
 bridge-properly-dereference-the-br_should_route_hook.patch
+xfs-make-xfsbufd-threads-freezable.patch
diff --git a/queue-2.6.23/xfs-make-xfsbufd-threads-freezable.patch b/queue-2.6.23/xfs-make-xfsbufd-threads-freezable.patch
new file mode 100644 (file)
index 0000000..054c6af
--- /dev/null
@@ -0,0 +1,38 @@
+From 978c7b2ff49597ab76ff7529a933bd366941ac25 Mon Sep 17 00:00:00 2001
+From: Rafael J. Wysocki <rjw@sisk.pl>
+Date: Fri, 7 Dec 2007 14:09:02 +1100
+Subject: XFS: Make xfsbufd threads freezable
+Message-ID: <6101e8c40712101247u25fe9cb6vb8fa0ff350a4fce6@mail.gmail.com>
+
+From: Rafael J. Wysocki <rjw@sisk.pl>
+
+patch 978c7b2ff49597ab76ff7529a933bd366941ac25 in mainline
+
+Fix breakage caused by commit 831441862956fffa17b9801db37e6ea1650b0f69
+that did not introduce the necessary call to set_freezable() in
+xfs/linux-2.6/xfs_buf.c .
+
+SGI-PV: 974224
+SGI-Modid: xfs-linux-melb:xfs-kern:30203a
+
+Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
+Signed-off-by: David Chinner <dgc@sgi.com>
+Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
+Cc: Oliver Pintr <oliver.pntr@gmail.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ fs/xfs/linux-2.6/xfs_buf.c |    2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/fs/xfs/linux-2.6/xfs_buf.c
++++ b/fs/xfs/linux-2.6/xfs_buf.c
+@@ -1744,6 +1744,8 @@ xfsbufd(
+       current->flags |= PF_MEMALLOC;
++      set_freezable();
++
+       do {
+               if (unlikely(freezing(current))) {
+                       set_bit(XBT_FORCE_SLEEP, &target->bt_flags);