From: Andreas Gruenbacher Date: Thu, 28 Jul 2011 13:27:51 +0000 (+0200) Subject: drbd: Create a dedicated struct drbd_device_work X-Git-Tag: v3.15-rc1~134^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b8c06b6591e73250e6ab4834a02a86c8994b91;p=pandora-kernel.git drbd: Create a dedicated struct drbd_device_work drbd_device_work is a work item that has a reference to a device, while drbd_work is a more generic work item that does not carry a reference to a device. All callbacks get a pointer to a drbd_work instance, those callbacks that expect a drbd_device_work use the container_of macro to get it. Signed-off-by: Andreas Gruenbacher Signed-off-by: Philipp Reisner --- Reading git-diff-tree failed