Browse Source

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
Linus Torvalds 14 years ago
parent
commit
15cc910112
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/md/dm-kcopyd.c

+ 1 - 0
drivers/md/dm-kcopyd.c

@@ -628,6 +628,7 @@ void *dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc,
 	job->kc = kc;
 	job->fn = fn;
 	job->context = context;
+	job->master_job = job;
 
 	atomic_inc(&kc->nr_jobs);