drbd: fix if(); found by kbuild test robot
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 27 Mar 2013 13:08:49 +0000 (14:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Mar 2013 16:10:26 +0000 (10:10 -0600)
commit0b6ef4164f50698eee536903d69d086add1a7889
treea11a8b93ed9170efb87e38bb4f784ffddefcc52c
parent3990e04df085e0561ab34f84731dc5929585c526
drbd: fix if(); found by kbuild test robot

Recently introduced al_begin_io_nonblock() was returning -EBUSY,
even when it should return -EWOULDBLOCK.

Impact:
A few spurious wake_up() calls in prepare_al_transaction_nonblock().

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_actlog.c