diff options
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index be80771c414d..60e266618729 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -94,7 +94,7 @@ int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent) | |||
94 | if (sb->sb_header.mh_magic != GFS2_MAGIC || | 94 | if (sb->sb_header.mh_magic != GFS2_MAGIC || |
95 | sb->sb_header.mh_type != GFS2_METATYPE_SB) { | 95 | sb->sb_header.mh_type != GFS2_METATYPE_SB) { |
96 | if (!silent) | 96 | if (!silent) |
97 | printk("GFS2: not a GFS2 filesystem\n"); | 97 | printk(KERN_WARNING "GFS2: not a GFS2 filesystem\n"); |
98 | return -EINVAL; | 98 | return -EINVAL; |
99 | } | 99 | } |
100 | 100 | ||
@@ -110,11 +110,11 @@ int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent) | |||
110 | break; | 110 | break; |
111 | 111 | ||
112 | if (!gfs2_old_fs_formats[x]) { | 112 | if (!gfs2_old_fs_formats[x]) { |
113 | printk("GFS2: code version (%u, %u) is incompatible " | 113 | printk(KERN_WARNING "GFS2: code version (%u, %u) is incompatible " |
114 | "with ondisk format (%u, %u)\n", | 114 | "with ondisk format (%u, %u)\n", |
115 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, | 115 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, |
116 | sb->sb_fs_format, sb->sb_multihost_format); | 116 | sb->sb_fs_format, sb->sb_multihost_format); |
117 | printk("GFS2: I don't know how to upgrade this FS\n"); | 117 | printk(KERN_WARNING "GFS2: I don't know how to upgrade this FS\n"); |
118 | return -EINVAL; | 118 | return -EINVAL; |
119 | } | 119 | } |
120 | } | 120 | } |
@@ -125,23 +125,23 @@ int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb *sb, int silent) | |||
125 | break; | 125 | break; |
126 | 126 | ||
127 | if (!gfs2_old_multihost_formats[x]) { | 127 | if (!gfs2_old_multihost_formats[x]) { |
128 | printk("GFS2: code version (%u, %u) is incompatible " | 128 | printk(KERN_WARNING "GFS2: code version (%u, %u) is incompatible " |
129 | "with ondisk format (%u, %u)\n", | 129 | "with ondisk format (%u, %u)\n", |
130 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, | 130 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, |
131 | sb->sb_fs_format, sb->sb_multihost_format); | 131 | sb->sb_fs_format, sb->sb_multihost_format); |
132 | printk("GFS2: I don't know how to upgrade this FS\n"); | 132 | printk(KERN_WARNING "GFS2: I don't know how to upgrade this FS\n"); |
133 | return -EINVAL; | 133 | return -EINVAL; |
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
137 | if (!sdp->sd_args.ar_upgrade) { | 137 | if (!sdp->sd_args.ar_upgrade) { |
138 | printk("GFS2: code version (%u, %u) is incompatible " | 138 | printk(KERN_WARNING "GFS2: code version (%u, %u) is incompatible " |
139 | "with ondisk format (%u, %u)\n", | 139 | "with ondisk format (%u, %u)\n", |
140 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, | 140 | GFS2_FORMAT_FS, GFS2_FORMAT_MULTI, |
141 | sb->sb_fs_format, sb->sb_multihost_format); | 141 | sb->sb_fs_format, sb->sb_multihost_format); |
142 | printk("GFS2: Use the \"upgrade\" mount option to upgrade " | 142 | printk(KERN_INFO "GFS2: Use the \"upgrade\" mount option to upgrade " |
143 | "the FS\n"); | 143 | "the FS\n"); |
144 | printk("GFS2: See the manual for more details\n"); | 144 | printk(KERN_INFO "GFS2: See the manual for more details\n"); |
145 | return -EINVAL; | 145 | return -EINVAL; |
146 | } | 146 | } |
147 | 147 | ||