]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.8-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Mar 2013 22:16:04 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Mar 2013 22:16:04 +0000 (15:16 -0700)
added patches:
revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch

queue-3.8/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch [new file with mode: 0644]
queue-3.8/series

diff --git a/queue-3.8/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch b/queue-3.8/revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch
new file mode 100644 (file)
index 0000000..a12817d
--- /dev/null
@@ -0,0 +1,29 @@
+From foo@baz Tue Mar 12 15:08:26 PDT 2013
+Date: Tue, 12 Mar 2013 15:08:26 -0700
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: Revert "xen/blkback: Don't trust the handle from the frontend."
+
+This reverts commit 01c681d4c70d64cb72142a2823f27c4146a02e63 upstream
+(ef56ca64ea733c3b88f0bb74b04da128b1dc35d8 in this tree), as it wasn't
+supposed to have been applied to the stable tree.
+
+Cc: Jan Beulich <jbeulich@suse.com>
+Cc: Ian Campbell <ian.campbell@citrix.com>
+Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/block/xen-blkback/blkback.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/drivers/block/xen-blkback/blkback.c
++++ b/drivers/block/xen-blkback/blkback.c
+@@ -881,6 +881,7 @@ static int dispatch_rw_block_io(struct x
+               goto fail_response;
+       }
++      preq.dev           = req->u.rw.handle;
+       preq.sector_number = req->u.rw.sector_number;
+       preq.nr_sects      = 0;
index f5da0f53e621964af30c3bd35c7b76ce4401746d..79b91a9ad6fd5ba9db2779f9f4ae76bdeacc470a 100644 (file)
@@ -96,3 +96,4 @@ usb-don-t-use-ehci-port-sempahore-for-usb-3.0-hubs.patch
 usb-prepare-for-refactoring-by-adding-extra-udev-checks.patch
 usb-rip-out-recursive-call-on-warm-port-reset.patch
 usb-fix-connected-device-switch-to-inactive-state.patch
+revert-xen-blkback-don-t-trust-the-handle-from-the-frontend.patch