[kernel/f16] Sync with f15 for rhbz 728872
Josh Boyer
jwboyer at fedoraproject.org
Tue Aug 9 20:33:01 UTC 2011
commit a9bf2facb11e02a25bb244278e92de015704fc30
Author: Josh Boyer <jwboyer at redhat.com>
Date: Tue Aug 9 16:32:30 2011 -0400
Sync with f15 for rhbz 728872
block-stray-block-put-after-teardown.patch | 11 +++++++++++
kernel.spec | 8 +++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/block-stray-block-put-after-teardown.patch b/block-stray-block-put-after-teardown.patch
new file mode 100644
index 0000000..f4bf9c4
--- /dev/null
+++ b/block-stray-block-put-after-teardown.patch
@@ -0,0 +1,11 @@
+--- linux-2.6.39.noarch/block/elevator.c~ 2011-08-09 10:07:41.532774872 -0400
++++ linux-2.6.39.noarch/block/elevator.c 2011-08-09 10:07:56.131724173 -0400
+@@ -815,7 +815,7 @@ void elv_completed_request(struct reques
+ */
+ if (blk_account_rq(rq)) {
+ q->in_flight[rq_is_sync(rq)]--;
+- if ((rq->cmd_flags & REQ_SORTED) &&
++ if ((rq->cmd_flags & REQ_SORTED) && e->ops &&
+ e->ops->elevator_completed_req_fn)
+ e->ops->elevator_completed_req_fn(q, rq);
+ }
diff --git a/kernel.spec b/kernel.spec
index ff6bc89..abac0be 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -51,7 +51,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be prepended with "0.", so
# for example a 3 here will become 0.3
#
-%global baserelease 3
+%global baserelease 4
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@@ -686,6 +686,7 @@ Patch12021: udlfb-bind-framebuffer-to-interface.patch
Patch12022: fix-cdc-ncm-dma-stack-vars.patch
Patch12023: ums-realtek-driver-uses-stack-memory-for-DMA.patch
+Patch12024: block-stray-block-put-after-teardown.patch
# Runtime power management
Patch12203: linux-2.6-usb-pci-autosuspend.patch
@@ -698,6 +699,7 @@ Patch13001: epoll-fix-spurious-lockdep-warnings.patch
Patch13002: hfsplus-ensure-bio-requests-are-not-smaller-than-the.patch
Patch13003: efi-dont-map-boot-services-on-32bit.patch
+
Patch20000: utrace.patch
%endif
@@ -1268,6 +1270,7 @@ ApplyPatch add-appleir-usb-driver.patch
ApplyPatch udlfb-bind-framebuffer-to-interface.patch
ApplyPatch fix-cdc-ncm-dma-stack-vars.patch
ApplyPatch ums-realtek-driver-uses-stack-memory-for-DMA.patch
+ApplyPatch block-stray-block-put-after-teardown.patch
# Runtime PM
#ApplyPatch linux-2.6-usb-pci-autosuspend.patch
@@ -1899,6 +1902,9 @@ fi
# and build.
%changelog
+* Tue Aug 09 2011 Josh Boyer <jwboyer at redhat.com>
+- Add patch davej applied to f15 for rhbz 728872
+
* Tue Aug 09 2011 Dave Jones <davej at redhat.com>
- ptrace_report_syscall: check if TIF_SYSCALL_EMU is defined
More information about the scm-commits
mailing list