From: Neil Brown Date: Tue, 20 Dec 2005 00:07:00 +0000 (+1100) Subject: [PATCH] md: Change case of raid level reported in sys/mdX/md/level X-Git-Tag: MMI-PSA29.97-13-9~52596^2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bcb97940f31ded5ac551da8bfc849583203fc6f2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] md: Change case of raid level reported in sys/mdX/md/level I had thought that keeping the reported tail level clearly different from the module name was a good idea, but I've changed my mind. 'raid5' is better and probably less confusing than 'RAID-5'. Signed-off-by: Neil Brown Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/md.c b/drivers/md/md.c index cd12fca73b0d..8175a2a222da 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c @@ -1729,7 +1729,7 @@ level_show(mddev_t *mddev, char *page) if (p == NULL && mddev->raid_disks == 0) return 0; if (mddev->level >= 0) - return sprintf(page, "RAID-%d\n", mddev->level); + return sprintf(page, "raid%d\n", mddev->level); else return sprintf(page, "%s\n", p->name); }