[PATCH] Silence noisy per-disk messages output bycciss_read_capacity_16

From: Bryn M. Reeves
Date: Fri Jun 01 2012 - 12:11:24 EST


This patch mirrors the change made to cciss_read_capacity in commit
983333c. Emitting device and block size information at KERN_INFO on
each read_capacity() leads to a lot of log noise.

Signed-off-by: Bryn M. Reeves <bmr@xxxxxxxxxx>
---
drivers/block/cciss.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index b0f553b..ea6853d 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -2934,8 +2934,6 @@ static void cciss_read_capacity_16(ctlr_info_t *h, int logvol,
*total_size = 0;
*block_size = BLOCK_SIZE;
}
- dev_info(&h->pdev->dev, " blocks= %llu block_size= %d\n",
- (unsigned long long)*total_size+1, *block_size);
kfree(buf);
}

--
1.7.6.5


--------------000308070106000603060402--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/