commit | 15cc91011246fa67f755eb3feea08d57a7692fde | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 24 07:05:38 2011 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Oct 24 07:05:38 2011 +0200 |
tree | 8f6e9ce27337923ff688ed99a7c6d0dcac01a91f | |
parent | 8548c84da2f47e71bbbe300f55edb768492575f7 [diff] | |
parent | d136f2efdf3a4faba47f58603f8ace2207234d75 [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
diff --git a/drivers/md/dm-kcopyd.c b/drivers/md/dm-kcopyd.c index f821470..32ac708 100644 --- a/drivers/md/dm-kcopyd.c +++ b/drivers/md/dm-kcopyd.c
@@ -628,6 +628,7 @@ job->kc = kc; job->fn = fn; job->context = context; + job->master_job = job; atomic_inc(&kc->nr_jobs);