fs: use appropriate printk priority levels
printk()s without a priority level default to KERN_WARNING. To reduce noise at KERN_WARNING, this patch set the priority level appriopriately for unleveled printks()s. This should be useful to folks that look at dmesg warnings closely. Signed-off-by: Mandeep Singh Baines <msb@chromium.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3e50594e8e
commit
80cdc6dae7
@@ -2701,7 +2701,7 @@ void __init mnt_init(void)
|
||||
if (!mount_hashtable)
|
||||
panic("Failed to allocate mount hash table\n");
|
||||
|
||||
printk("Mount-cache hash table entries: %lu\n", HASH_SIZE);
|
||||
printk(KERN_INFO "Mount-cache hash table entries: %lu\n", HASH_SIZE);
|
||||
|
||||
for (u = 0; u < HASH_SIZE; u++)
|
||||
INIT_LIST_HEAD(&mount_hashtable[u]);
|
||||
|
Reference in New Issue
Block a user