drbd: fixup after wait_even_lock_irq() addition to generic code
authorJens Axboe <axboe@kernel.dk>
Fri, 30 Nov 2012 20:20:15 +0000 (21:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Nov 2012 20:20:15 +0000 (21:20 +0100)
commit2cecb7309897c872b977a60d53e5de0af4265dd6
treed48284c1edb9ed24d3afa57ba18441d345a5b20c
parent7b5a35225b0d4fd779cf79d7624e63d1957f6c4d
drbd: fixup after wait_even_lock_irq() addition to generic code

Compiling drbd yields:

drivers/block/drbd/drbd_state.c: In function ‘_conn_request_state’:
drivers/block/drbd/drbd_state.c:1804:5: error: macro "wait_event_lock_irq" passed 4 arguments, but takes just 3
drivers/block/drbd/drbd_state.c:1801:3: error: ‘wait_event_lock_irq’ undeclared (first use in this function)
drivers/block/drbd/drbd_state.c:1801:3: note: each undeclared identifier is reported only once for each function it appears in
drivers/block/drbd/drbd_state.c: At top level:
drivers/block/drbd/drbd_state.c:1734:1: warning: ‘_conn_rq_cond’ defined but not used [-Wunused-function]

Due to drbd having copied the MD definition for wait_event_lock_irq()
as well. Kill them.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_state.c