From: Mikulas Patocka Date: Wed, 8 Apr 2009 23:27:16 +0000 (+0100) Subject: dm kcopyd: prepare for callback race fix X-Git-Tag: v2.6.30-rc2~104^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73830857bca6f6c9dbd48e906daea50bea42d676;p=pandora-kernel.git 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 Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed