diff options
author | David Sterba <dsterba@suse.com> | 2015-10-08 10:43:10 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-10-08 11:07:55 +0200 |
commit | b14af3b46f214c5e927dacf58a994fa3c4cb20dc (patch) | |
tree | 551ed8634e1506f8e75391107e788df8f03b6903 /fs/btrfs/disk-io.c | |
parent | btrfs: introduce ratelimited _in_rcu variants of message printing functions (diff) | |
download | linux-b14af3b46f214c5e927dacf58a994fa3c4cb20dc.tar.xz linux-b14af3b46f214c5e927dacf58a994fa3c4cb20dc.zip |
btrfs: switch message printers to ratelimited _in_rcu variants
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 295795aebe0b..ba41faf623ce 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3175,8 +3175,8 @@ static void btrfs_end_buffer_write_sync(struct buffer_head *bh, int uptodate) struct btrfs_device *device = (struct btrfs_device *) bh->b_private; - printk_ratelimited_in_rcu(KERN_WARNING "BTRFS: lost page write due to " - "I/O error on %s\n", + btrfs_warn_rl_in_rcu(device->dev_root->fs_info, + "lost page write due to IO error on %s", rcu_str_deref(device->name)); /* note, we dont' set_buffer_write_io_error because we have * our own ways of dealing with the IO errors |