Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcb97940 authored by Neil Brown's avatar Neil Brown Committed by Linus Torvalds
Browse files

[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: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f98d2dfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}