diff options
| author | Mandeep Singh Baines <[email protected]> | 2011-03-22 23:33:54 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-23 00:44:10 +0000 |
| commit | 80cdc6dae76ea67d2b21bdca8df17ef47251eb8b (patch) | |
| tree | b776fd2d32f4262526de9f4ed907c1b9406bce91 /init/do_mounts.c | |
| parent | add the common dma_addr_t typedef to include/linux/types.h (diff) | |
| download | kernel-80cdc6dae76ea67d2b21bdca8df17ef47251eb8b.tar.gz kernel-80cdc6dae76ea67d2b21bdca8df17ef47251eb8b.zip | |
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 <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'init/do_mounts.c')
| -rw-r--r-- | init/do_mounts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index 2b54bef33b55..3e0112157795 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -293,7 +293,8 @@ static int __init do_mount_root(char *name, char *fs, int flags, void *data) sys_chdir((const char __user __force *)"/root"); ROOT_DEV = current->fs->pwd.mnt->mnt_sb->s_dev; - printk("VFS: Mounted root (%s filesystem)%s on device %u:%u.\n", + printk(KERN_INFO + "VFS: Mounted root (%s filesystem)%s on device %u:%u.\n", current->fs->pwd.mnt->mnt_sb->s_type->name, current->fs->pwd.mnt->mnt_sb->s_flags & MS_RDONLY ? " readonly" : "", MAJOR(ROOT_DEV), MINOR(ROOT_DEV)); |
