Commit d033bbf5 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] md: make MD no device warning KERN_WARNING

Prevents some noise during boot up when no MD volumes are found.

I think I picked it up from someone else, but I cannot remember from whom
(sorry)

Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 54d68822
...@@ -406,7 +406,7 @@ static int read_disk_sb(mdk_rdev_t * rdev) ...@@ -406,7 +406,7 @@ static int read_disk_sb(mdk_rdev_t * rdev)
return 0; return 0;
fail: fail:
printk(KERN_ERR "md: disabled device %s, could not read superblock.\n", printk(KERN_WARNING "md: disabled device %s, could not read superblock.\n",
bdevname(rdev->bdev,b)); bdevname(rdev->bdev,b));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment