summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-12-19 18:38:44 +0100
committerChris Mason <clm@fb.com>2015-01-22 03:02:03 +0100
commitf0954c66377b1610a512fd05f4d33afa54441c3b (patch)
treecb9cbb110a88145d8c575d3a3f2ad4e3e1033aef /fs/btrfs/inode.c
parentbtrfs: update message levels during failed mount (diff)
downloadlinux-f0954c66377b1610a512fd05f4d33afa54441c3b.tar.xz
linux-f0954c66377b1610a512fd05f4d33afa54441c3b.zip
btrfs: update message levels after checksum errors
The errors are worth noting and might get missed with INFO level. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 29892ebc798b..5e529208ffea 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2945,7 +2945,7 @@ static int __readpage_endio_check(struct inode *inode,
return 0;
zeroit:
if (__ratelimit(&_rs))
- btrfs_info(BTRFS_I(inode)->root->fs_info,
+ btrfs_warn(BTRFS_I(inode)->root->fs_info,
"csum failed ino %llu off %llu csum %u expected csum %u",
btrfs_ino(inode), start, csum, csum_expected);
memset(kaddr + pgoff, 1, len);