btrfs: fix static checker warnings
authorJeff Mahoney <jeffm@suse.com>
Wed, 20 Nov 2013 21:50:23 +0000 (16:50 -0500)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:44 +0000 (13:19 -0800)
commit1b8e5df6d9b676f6d31fb098ffdc7d18732729d7
tree80e54f4147fdb9c8c292f8daeda83a1ff99c6314
parent131e404a2a54d30f894425ef723f9867a43bff4c
btrfs: fix static checker warnings

This patch fixes the following warnings:
fs/btrfs/extent-tree.c:6201:12: sparse: symbol 'get_raid_name' was not declared. Should it be static?
fs/btrfs/extent-tree.c:8430:9: error: format not a string literal and no format arguments [-Werror=format-security] get_raid_name(index));

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c