summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-09-20 10:05:01 -0400
committerDavid Sterba <dsterba@suse.com>2016-09-26 18:08:44 +0200
commit62e855771dacf7c4d6daf9741642a965e7066d31 (patch)
tree2d7f6cb2601bb4b5b3ca1cd1f301fadabbdfec76 /fs/btrfs/sysfs.c
parent5d163e0e68ce743e1e919ddd3264c96ac02e9026 (diff)
downloadop-kernel-dev-62e855771dacf7c4d6daf9741642a965e7066d31.zip
op-kernel-dev-62e855771dacf7c4d6daf9741642a965e7066d31.tar.gz
btrfs: convert printk(KERN_* to use pr_* calls
This patch converts printk(KERN_* style messages to use the pr_* versions. One side effect is that anything that was KERN_DEBUG is now automatically a dynamic debug message. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r--fs/btrfs/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index e5ab27e..1f157fb 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -77,7 +77,7 @@ static int can_modify_feature(struct btrfs_feature_attr *fa)
clear = BTRFS_FEATURE_INCOMPAT_SAFE_CLEAR;
break;
default:
- printk(KERN_WARNING "btrfs: sysfs: unknown feature set %d\n",
+ pr_warn("btrfs: sysfs: unknown feature set %d\n",
fa->feature_set);
return 0;
}
OpenPOWER on IntegriCloud