summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-10-08 10:43:10 +0200
committerDavid Sterba <dsterba@suse.com>2015-10-08 11:07:55 +0200
commitb14af3b46f214c5e927dacf58a994fa3c4cb20dc (patch)
tree551ed8634e1506f8e75391107e788df8f03b6903 /fs/btrfs/extent_io.c
parent24aa6b41d4611b14ad0fb89fa0b899ae9ab7005c (diff)
downloadlwn-b14af3b46f214c5e927dacf58a994fa3c4cb20dc.tar.gz
lwn-b14af3b46f214c5e927dacf58a994fa3c4cb20dc.zip
btrfs: switch message printers to ratelimited _in_rcu variants
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index e2357e31609a..58b9ccdfe2e9 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -2078,8 +2078,8 @@ int repair_io_failure(struct inode *inode, u64 start, u64 length, u64 logical,
return -EIO;
}
- printk_ratelimited_in_rcu(KERN_INFO
- "BTRFS: read error corrected: ino %llu off %llu (dev %s sector %llu)\n",
+ btrfs_info_rl_in_rcu(fs_info,
+ "read error corrected: ino %llu off %llu (dev %s sector %llu)",
btrfs_ino(inode), start,
rcu_str_deref(dev->name), sector);
bio_put(bio);