commit | 73830857bca6f6c9dbd48e906daea50bea42d676 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Apr 09 00:27:16 2009 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Apr 09 00:27:16 2009 +0100 |
tree | 1d68ff2f2da69fea4ba3fe720bbfc32507a5f7e3 | |
parent | af7e466a1acededbc10beaba9eec8531d561c566 [diff] |
dm kcopyd: prepare for callback race fix Use a variable in segment_complete() to point to the dm_kcopyd_client struct and only release job->pages in run_complete_job() if any are defined. These changes are needed by the next patch. Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>