drbd: Replace the ERR_IF macro with an assert-like macro
authorAndreas Gruenbacher <agruen@linbit.com>
Wed, 15 Dec 2010 18:31:20 +0000 (19:31 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 29 Aug 2011 09:26:57 +0000 (11:26 +0200)
commit841ce241fa355048f66172a47e356bb6e9159c9d
tree6634fa2f4248bad65de29ae47429e5ff1c095d00
parente77a0a5cc1e6961f485b5623ef42f3b910969675
drbd: Replace the ERR_IF macro with an assert-like macro

Remove the file name and line number from the syslog messages generated:
we have no duplicate function names, and no function contains the same
assertion more than once.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_actlog.c
drivers/block/drbd/drbd_bitmap.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c