Commit 1d889d99 authored by Jeff Mahoney's avatar Jeff Mahoney Committed by Linus Torvalds

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: default avatarJeff Mahoney <jeffm@suse.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a5437152
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
#define SET_OPTION(optname) \ #define SET_OPTION(optname) \
do { \ do { \
reiserfs_warning(s, "reiserfs: option \"%s\" is set", #optname); \ reiserfs_info(s, "block allocator option \"%s\" is set", #optname); \
set_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s)); \ set_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s)); \
} while(0) } while(0)
#define TEST_OPTION(optname, s) \ #define TEST_OPTION(optname, s) \
test_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s)) test_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s))
...@@ -636,7 +636,7 @@ int reiserfs_parse_alloc_options(struct super_block *s, char *options) ...@@ -636,7 +636,7 @@ int reiserfs_parse_alloc_options(struct super_block *s, char *options)
return 1; return 1;
} }
reiserfs_warning(s, "allocator options = [%08x]\n", SB_ALLOC_OPTS(s)); reiserfs_info(s, "allocator options = [%08x]\n", SB_ALLOC_OPTS(s));
return 0; return 0;
} }
......
...@@ -1371,13 +1371,11 @@ static int read_super_block(struct super_block *s, int offset) ...@@ -1371,13 +1371,11 @@ static int read_super_block(struct super_block *s, int offset)
/* magic is of non-standard journal filesystem, look at s_version to /* magic is of non-standard journal filesystem, look at s_version to
find which format is in use */ find which format is in use */
if (sb_version(rs) == REISERFS_VERSION_2) if (sb_version(rs) == REISERFS_VERSION_2)
reiserfs_warning(s, reiserfs_info(s, "found reiserfs format \"3.6\""
"read_super_block: found reiserfs format \"3.6\"" " with non-standard journal\n");
" with non-standard journal");
else if (sb_version(rs) == REISERFS_VERSION_1) else if (sb_version(rs) == REISERFS_VERSION_1)
reiserfs_warning(s, reiserfs_info(s, "found reiserfs format \"3.5\""
"read_super_block: found reiserfs format \"3.5\"" " with non-standard journal\n");
" with non-standard journal");
else { else {
reiserfs_warning(s, reiserfs_warning(s,
"sh-2012: read_super_block: found unknown " "sh-2012: read_super_block: found unknown "
...@@ -1456,8 +1454,8 @@ static __u32 find_hash_out(struct super_block *s) ...@@ -1456,8 +1454,8 @@ static __u32 find_hash_out(struct super_block *s)
if (reiserfs_rupasov_hash(s)) { if (reiserfs_rupasov_hash(s)) {
hash = YURA_HASH; hash = YURA_HASH;
} }
reiserfs_warning(s, "FS seems to be empty, autodetect " reiserfs_info(s, "FS seems to be empty, autodetect "
"is using the default hash"); "is using the default hash\n");
break; break;
} }
r5hash = GET_HASH_VALUE(r5_hash(de.de_name, de.de_namelen)); r5hash = GET_HASH_VALUE(r5_hash(de.de_name, de.de_namelen));
......
...@@ -1182,12 +1182,10 @@ int reiserfs_xattr_init(struct super_block *s, int mount_flags) ...@@ -1182,12 +1182,10 @@ int reiserfs_xattr_init(struct super_block *s, int mount_flags)
} }
if (dentry && dentry->d_inode) if (dentry && dentry->d_inode)
reiserfs_warning(s, reiserfs_info(s, "Created %s - "
"Created %s on %s - reserved for " "reserved for xattr "
"xattr storage.", "storage.\n",
PRIVROOT_NAME, PRIVROOT_NAME);
reiserfs_bdevname
(inode->i_sb));
} else if (!dentry->d_inode) { } else if (!dentry->d_inode) {
dput(dentry); dput(dentry);
dentry = NULL; dentry = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment