aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/super.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2009-03-30 14:02:20 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 15:16:35 -0400
commit1d889d9958490888b3fad1d486145d9a03559cbc (patch)
tree6fab5d559376dd8d9aa970efd179a7345f77ae2e /fs/reiserfs/super.c
parenta5437152eec2c9171f6ab06e63135c5333f0a929 (diff)
reiserfs: make some warnings informational
In several places, reiserfs_warning is used when there is no warning, just a notice. This patch changes some of them to indicate that the message is merely informational. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/super.c')
-rw-r--r--fs/reiserfs/super.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 4ad40afe54e1..0428004dc638 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -1371,13 +1371,11 @@ static int read_super_block(struct super_block *s, int offset)
1371 /* magic is of non-standard journal filesystem, look at s_version to 1371 /* magic is of non-standard journal filesystem, look at s_version to
1372 find which format is in use */ 1372 find which format is in use */
1373 if (sb_version(rs) == REISERFS_VERSION_2) 1373 if (sb_version(rs) == REISERFS_VERSION_2)
1374 reiserfs_warning(s, 1374 reiserfs_info(s, "found reiserfs format \"3.6\""
1375 "read_super_block: found reiserfs format \"3.6\"" 1375 " with non-standard journal\n");
1376 " with non-standard journal");
1377 else if (sb_version(rs) == REISERFS_VERSION_1) 1376 else if (sb_version(rs) == REISERFS_VERSION_1)
1378 reiserfs_warning(s, 1377 reiserfs_info(s, "found reiserfs format \"3.5\""
1379 "read_super_block: found reiserfs format \"3.5\"" 1378 " with non-standard journal\n");
1380 " with non-standard journal");
1381 else { 1379 else {
1382 reiserfs_warning(s, 1380 reiserfs_warning(s,
1383 "sh-2012: read_super_block: found unknown " 1381 "sh-2012: read_super_block: found unknown "
@@ -1456,8 +1454,8 @@ static __u32 find_hash_out(struct super_block *s)
1456 if (reiserfs_rupasov_hash(s)) { 1454 if (reiserfs_rupasov_hash(s)) {
1457 hash = YURA_HASH; 1455 hash = YURA_HASH;
1458 } 1456 }
1459 reiserfs_warning(s, "FS seems to be empty, autodetect " 1457 reiserfs_info(s, "FS seems to be empty, autodetect "
1460 "is using the default hash"); 1458 "is using the default hash\n");
1461 break; 1459 break;
1462 } 1460 }
1463 r5hash = GET_HASH_VALUE(r5_hash(de.de_name, de.de_namelen)); 1461 r5hash = GET_HASH_VALUE(r5_hash(de.de_name, de.de_namelen));