aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-10-24 01:05:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-24 01:05:38 -0400
commit15cc91011246fa67f755eb3feea08d57a7692fde (patch)
tree8f6e9ce27337923ff688ed99a7c6d0dcac01a91f
parent8548c84da2f47e71bbbe300f55edb768492575f7 (diff)
parentd136f2efdf3a4faba47f58603f8ace2207234d75 (diff)
Merge branch 'for-linus' of http://people.redhat.com/agk/git/linux-dm
* 'for-linus' of http://people.redhat.com/agk/git/linux-dm: dm kcopyd: fix job_pool leak
-rw-r--r--drivers/md/dm-kcopyd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-kcopyd.c b/drivers/md/dm-kcopyd.c
index f82147029636..32ac70861d66 100644
--- a/drivers/md/dm-kcopyd.c
+++ b/drivers/md/dm-kcopyd.c
@@ -628,6 +628,7 @@ void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc,
628 job->kc = kc; 628 job->kc = kc;
629 job->fn = fn; 629 job->fn = fn;
630 job->context = context; 630 job->context = context;
631 job->master_job = job;
631 632
632 atomic_inc(&kc->nr_jobs); 633 atomic_inc(&kc->nr_jobs);
633 634