diff options
author | 2011-07-03 17:53:52 +0200 | |
---|---|---|
committer | 2014-02-17 16:45:01 +0100 | |
commit | d01801710265cfb7bd8928ae7c3be4d9d15ceeb0 (patch) | |
tree | 37aeb2c599a8d92ba9f70346a213968544493327 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drbd: Turn connection->volumes into connection->peer_devices (diff) | |
download | wireguard-linux-d01801710265cfb7bd8928ae7c3be4d9d15ceeb0.tar.xz wireguard-linux-d01801710265cfb7bd8928ae7c3be4d9d15ceeb0.zip |
drbd: Remove the terrible DEV hack
DRBD was using dev_err() and similar all over the code; instead of having to
write dev_err(disk_to_dev(device->vdisk), ...) to convert a drbd_device into a
kernel device, a DEV macro was used which implicitly references the device
variable. This is terrible; introduce separate drbd_err() and similar macros
with an explicit device parameter instead.
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions