From: Andreas Gruenbacher Date: Sun, 3 Jul 2011 15:53:52 +0000 (+0200) Subject: drbd: Remove the terrible DEV hack X-Git-Tag: v3.15-rc1~134^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d01801710265cfb7bd8928ae7c3be4d9d15ceeb0;p=pandora-kernel.git 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 Signed-off-by: Philipp Reisner --- Reading git-diff-tree failed