diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2011-07-24 13:34:54 -0400 |
---|---|---|
committer | Sunil Mushran <sunil.mushran@oracle.com> | 2011-07-24 13:34:54 -0400 |
commit | 619c200de144b44f5e405305241bcd7edbb8c6cf (patch) | |
tree | 3ec4ca199ac599d0ae2933d5fc58dfd904722cd4 /fs/ocfs2/super.c | |
parent | 6b27f62fc750d85bc6fc3718b3b38ec60edc2d74 (diff) |
ocfs2: Clean up messages in the fs
Convert useful messages from ML_NOTICE to KERN_NOTICE to improve readability.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 56f61027236..3e7850380d2 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1107,9 +1107,9 @@ static int ocfs2_fill_super(struct super_block *sb, void *data, int silent) | |||
1107 | 1107 | ||
1108 | ocfs2_set_ro_flag(osb, 1); | 1108 | ocfs2_set_ro_flag(osb, 1); |
1109 | 1109 | ||
1110 | printk(KERN_NOTICE "Readonly device detected. No cluster " | 1110 | printk(KERN_NOTICE "ocfs2: Readonly device (%s) detected. " |
1111 | "services will be utilized for this mount. Recovery " | 1111 | "Cluster services will not be used for this mount. " |
1112 | "will be skipped.\n"); | 1112 | "Recovery will be skipped.\n", osb->dev_str); |
1113 | } | 1113 | } |
1114 | 1114 | ||
1115 | if (!ocfs2_is_hard_readonly(osb)) { | 1115 | if (!ocfs2_is_hard_readonly(osb)) { |
@@ -2462,8 +2462,8 @@ static int ocfs2_check_volume(struct ocfs2_super *osb) | |||
2462 | goto finally; | 2462 | goto finally; |
2463 | } | 2463 | } |
2464 | } else { | 2464 | } else { |
2465 | mlog(ML_NOTICE, "File system was not unmounted cleanly, " | 2465 | printk(KERN_NOTICE "ocfs2: File system on device (%s) was not " |
2466 | "recovering volume.\n"); | 2466 | "unmounted cleanly, recovering it.\n", osb->dev_str); |
2467 | } | 2467 | } |
2468 | 2468 | ||
2469 | local = ocfs2_mount_local(osb); | 2469 | local = ocfs2_mount_local(osb); |