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
This commit is contained in:
commit
15cc910112
|
@ -628,6 +628,7 @@ void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc,
|
||||||
job->kc = kc;
|
job->kc = kc;
|
||||||
job->fn = fn;
|
job->fn = fn;
|
||||||
job->context = context;
|
job->context = context;
|
||||||
|
job->master_job = job;
|
||||||
|
|
||||||
atomic_inc(&kc->nr_jobs);
|
atomic_inc(&kc->nr_jobs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue