aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-10-13 12:19:23 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-10-14 12:38:53 -0400
commit0f8488e1608b6e30e705460f8110888c645f7f9f (patch)
tree00fa40d74f4db3cb666d079b962cb3f1d6136236 /drivers/block
parent13d42685bec1f012dcbc5d187490eb1d15ec8219 (diff)
drbd: cleanup useless leftover warn/error printk's
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/drbd/drbd_nl.c3
-rw-r--r--drivers/block/drbd/drbd_receiver.c4
2 files changed, 1 insertions, 6 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c
index 9ae33a5bcf66..87925e97e613 100644
--- a/drivers/block/drbd/drbd_nl.c
+++ b/drivers/block/drbd/drbd_nl.c
@@ -780,9 +780,6 @@ void drbd_setup_queue_param(struct drbd_conf *mdev, unsigned int max_seg_s) __mu
780 blk_queue_segment_boundary(q, PAGE_SIZE-1); 780 blk_queue_segment_boundary(q, PAGE_SIZE-1);
781 blk_stack_limits(&q->limits, &b->limits, 0); 781 blk_stack_limits(&q->limits, &b->limits, 0);
782 782
783 if (b->merge_bvec_fn)
784 dev_warn(DEV, "Backing device's merge_bvec_fn() = %p\n",
785 b->merge_bvec_fn);
786 dev_info(DEV, "max_segment_size ( = BIO size ) = %u\n", queue_max_segment_size(q)); 783 dev_info(DEV, "max_segment_size ( = BIO size ) = %u\n", queue_max_segment_size(q));
787 784
788 if (q->backing_dev_info.ra_pages != b->backing_dev_info.ra_pages) { 785 if (q->backing_dev_info.ra_pages != b->backing_dev_info.ra_pages) {
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c
index 4dc6a8870526..5a4b6dcd48f2 100644
--- a/drivers/block/drbd/drbd_receiver.c
+++ b/drivers/block/drbd/drbd_receiver.c
@@ -4591,10 +4591,8 @@ int drbd_asender(struct drbd_thread *thi)
4591 while (1) { 4591 while (1) {
4592 clear_bit(SIGNAL_ASENDER, &mdev->flags); 4592 clear_bit(SIGNAL_ASENDER, &mdev->flags);
4593 flush_signals(current); 4593 flush_signals(current);
4594 if (!drbd_process_done_ee(mdev)) { 4594 if (!drbd_process_done_ee(mdev))
4595 dev_err(DEV, "process_done_ee() = NOT_OK\n");
4596 goto reconnect; 4595 goto reconnect;
4597 }
4598 /* to avoid race with newly queued ACKs */ 4596 /* to avoid race with newly queued ACKs */
4599 set_bit(SIGNAL_ASENDER, &mdev->flags); 4597 set_bit(SIGNAL_ASENDER, &mdev->flags);
4600 spin_lock_irq(&mdev->req_lock); 4598 spin_lock_irq(&mdev->req_lock);