linux/drivers/block/drbd
Andreas Gruenbacher 3b52beffc5 drbd: Turn drbd_printk() into a polymorphic macro
This allows drbd_alert(), drbd_err(), drbd_warn(), and drbd_info() to work for
a resource, device, or connection so that we don't have to introduce three
separate sets of macros for that.

The drbd_printk() macro itself is pretty ugly, but that problem is limited to
one place in the code.  Using drbd_printk() on an object type which it doesn't
understand results in an undefined drbd_printk_with_wrong_object_type symbol.

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
2014-02-17 16:45:02 +01:00
..
Kconfig drbd: update Kconfig to match current dependencies 2012-12-06 13:08:29 +01:00
Makefile drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_actlog.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_bitmap.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_int.h drbd: Turn drbd_printk() into a polymorphic macro 2014-02-17 16:45:02 +01:00
drbd_interval.c Merge branch 'drbd-8.4_ed6' into for-3.8-drivers-drbd-8.4_ed6 2012-11-09 14:20:23 +01:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_nl.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_nla.c drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_nla.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_proc.c drbd: Improve some function and variable naming 2014-02-17 16:44:52 +01:00
drbd_protocol.h drbd: Split off on-the-wire protocol definitions 2014-02-17 16:27:49 +01:00
drbd_receiver.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_req.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_req.h drbd: Introduce "peer_device" object between "device" and "connection" 2014-02-17 16:44:51 +01:00
drbd_state.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_state.h drbd: Rename drbd_tconn -> drbd_connection 2014-02-17 16:44:47 +01:00
drbd_strings.c drbd: Fix disconnect to keep the peer disk state if connection breaks during operation 2013-03-28 10:10:25 -06:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: Remove the terrible DEV hack 2014-02-17 16:45:01 +01:00
drbd_wrappers.h drbd: Rename "mdev" to "device" 2014-02-17 16:42:24 +01:00