summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/send.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2015-10-13 01:22:26 +0200
committerChris Mason <clm@fb.com>2015-10-13 01:22:26 +0200
commit640926ffdda7e817965d3bfb5bbbc51598ccf49b (patch)
tree0fd21a965af94c7586f8e9f692c4676cf1d35ffc /fs/btrfs/send.c
parentLinux 4.3-rc5 (diff)
parentbtrfs: switch more printks to our helpers (diff)
downloadlinux-640926ffdda7e817965d3bfb5bbbc51598ccf49b.tar.xz
linux-640926ffdda7e817965d3bfb5bbbc51598ccf49b.zip
Merge branch 'cleanup/messages' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.4
Diffstat (limited to 'fs/btrfs/send.c')
-rw-r--r--fs/btrfs/send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index a739b825bdd3..b5d47b9400ba 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -2564,7 +2564,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;