diff options
author | David Sterba <dsterba@suse.com> | 2015-10-08 11:37:06 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-10-08 13:08:03 +0200 |
commit | f14d104dbdb5044dac9acd0e983ffb60f706c746 (patch) | |
tree | a1fae623eade7120397723d6edef6a99356997f5 /fs/btrfs/send.c | |
parent | btrfs: switch message printers to ratelimited variants (diff) | |
download | linux-f14d104dbdb5044dac9acd0e983ffb60f706c746.tar.xz linux-f14d104dbdb5044dac9acd0e983ffb60f706c746.zip |
btrfs: switch more printks to our helpers
Convert the simple cases, not all functions provide a way to reach the
fs_info. Also skipped debugging messages (print-tree, integrity
checker and pr_debug) and messages that are printed from possibly
unfinished mount.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r-- | fs/btrfs/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index aa72bfd28f7d..4ea07c8cd6c2 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -2562,7 +2562,7 @@ verbose_printk("btrfs: send_create_inode %llu\n", ino); } else if (S_ISSOCK(mode)) { cmd = BTRFS_SEND_C_MKSOCK; } else { - printk(KERN_WARNING "btrfs: unexpected inode type %o", + btrfs_warn(sctx->send_root->fs_info, "unexpected inode type %o", (int)(mode & S_IFMT)); ret = -ENOTSUPP; goto out; |