diff --git a/block/genhd.c b/block/genhd.c index 1cb517969607..c2b5ee8effd8 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -88,7 +88,7 @@ bool set_capacity_and_notify(struct gendisk *disk, sector_t size) (disk->flags & GENHD_FL_HIDDEN)) return false; - pr_info("%s: detected capacity change from %lld to %lld\n", + pr_info_ratelimited("%s: detected capacity change from %lld to %lld\n", disk->disk_name, capacity, size); /*