]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.10-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Oct 2015 16:34:11 +0000 (09:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Oct 2015 16:34:11 +0000 (09:34 -0700)
added patches:
dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch

queue-3.10/dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch [new file with mode: 0644]
queue-3.10/series

diff --git a/queue-3.10/dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch b/queue-3.10/dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch
new file mode 100644 (file)
index 0000000..b60828c
--- /dev/null
@@ -0,0 +1,28 @@
+From ba30670f4d5292c4e7f7980bbd5071f7c4794cdd Mon Sep 17 00:00:00 2001
+From: Mike Snitzer <snitzer@redhat.com>
+Date: Tue, 13 Oct 2015 12:04:28 -0400
+Subject: dm thin: fix missing pool reference count decrement in pool_ctr error path
+
+From: Mike Snitzer <snitzer@redhat.com>
+
+commit ba30670f4d5292c4e7f7980bbd5071f7c4794cdd upstream.
+
+Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed")
+Signed-off-by: Mike Snitzer <snitzer@redhat.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/md/dm-thin.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/md/dm-thin.c
++++ b/drivers/md/dm-thin.c
+@@ -2109,7 +2109,7 @@ static int pool_ctr(struct dm_target *ti
+                                               metadata_low_callback,
+                                               pool);
+       if (r)
+-              goto out_free_pt;
++              goto out_flags_changed;
+       pt->callbacks.congested_fn = pool_is_congested;
+       dm_table_add_target_callbacks(ti->table, &pt->callbacks);
index e783f46529a7d1c8c877771a8630ae27ba3a513c..01089b2ace2e3e9b86aa4e393ca733f88ebfc5bb 100644 (file)
@@ -13,3 +13,4 @@ crypto-sparc-initialize-blkcipher.ivsize.patch
 crypto-ahash-ensure-statesize-is-non-zero.patch
 i2c-rcar-enable-runtimepm-before-registering-to-the-core.patch
 workqueue-make-sure-delayed-work-run-in-local-cpu.patch
+dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch