diff options
author | 2011-07-28 15:27:51 +0200 | |
---|---|---|
committer | 2014-02-17 16:50:39 +0100 | |
commit | 84b8c06b6591e73250e6ab4834a02a86c8994b91 (patch) | |
tree | ef2be94ac7b57c1042560a9a39d8c84550803b85 /tools/perf/scripts/python | |
parent | drbd: Rename w_prev_work_done -> w_complete (diff) | |
download | wireguard-linux-84b8c06b6591e73250e6ab4834a02a86c8994b91.tar.xz wireguard-linux-84b8c06b6591e73250e6ab4834a02a86c8994b91.zip |
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 <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions