summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2017-11-19 02:43:38 +0100
committerJens Axboe <axboe@kernel.dk>2017-11-19 19:02:19 +0100
commit7fb526212f16fcec4e92121ea86dc28fba493177 (patch)
tree2e32886c9bbdfc4fb706ff55c5a0e1fc0d620283 /block/genhd.c
parentblock: add WARN_ON if bdi register fail (diff)
downloadlinux-7fb526212f16fcec4e92121ea86dc28fba493177.tar.xz
linux-7fb526212f16fcec4e92121ea86dc28fba493177.zip
block: genhd.c: fix message typo
Fix typo in error message. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index c143a2274238..96a66f671720 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -1392,7 +1392,7 @@ struct gendisk *__alloc_disk_node(int minors, int node_id)
if (minors > DISK_MAX_PARTS) {
printk(KERN_ERR
- "block: can't allocated more than %d partitions\n",
+ "block: can't allocate more than %d partitions\n",
DISK_MAX_PARTS);
minors = DISK_MAX_PARTS;
}