From: Greg Kroah-Hartman Date: Fri, 23 Oct 2015 16:34:11 +0000 (-0700) Subject: 3.10-stable patches X-Git-Tag: v3.14.56~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff17452994e6108500717fea867853b8ad80393b;p=thirdparty%2Fkernel%2Fstable-queue.git 3.10-stable patches added patches: dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch --- 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 index 00000000000..b60828cf489 --- /dev/null +++ b/queue-3.10/dm-thin-fix-missing-pool-reference-count-decrement-in-pool_ctr-error-path.patch @@ -0,0 +1,28 @@ +From ba30670f4d5292c4e7f7980bbd5071f7c4794cdd Mon Sep 17 00:00:00 2001 +From: Mike Snitzer +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 + +commit ba30670f4d5292c4e7f7980bbd5071f7c4794cdd upstream. + +Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed") +Signed-off-by: Mike Snitzer +Signed-off-by: Greg Kroah-Hartman + +--- + 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); diff --git a/queue-3.10/series b/queue-3.10/series index e783f46529a..01089b2ace2 100644 --- a/queue-3.10/series +++ b/queue-3.10/series @@ -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