Message ID | 1459382103-8850-1-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 0e385d8..e7bd163 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -556,8 +556,8 @@ static void do_nbd_request(struct request_queue *q) req, req->cmd_type); if (unlikely(!nbd->sock)) { - dev_err(disk_to_dev(nbd->disk), - "Attempted send on closed socket\n"); + dev_err_ratelimited(disk_to_dev(nbd->disk), + "Attempted send on closed socket\n"); req->errors++; nbd_end_request(nbd, req); spin_lock_irq(q->queue_lock);