Skip to content

Commit

Permalink
Merge branch 'for-linus' of http://people.redhat.com/agk/git/linux-dm
Browse files Browse the repository at this point in the history
* 'for-linus' of http://people.redhat.com/agk/git/linux-dm:
  dm kcopyd: fix job_pool leak
  • Loading branch information
Linus Torvalds committed Oct 24, 2011
2 parents 8548c84 + d136f2e commit 15cc910
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/md/dm-kcopyd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 15cc910

Please sign in to comment.