summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/root-tree.c
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2013-08-14 22:27:46 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 14:15:51 +0200
commit171170c1c5625cab9687ecf6714e09e0c8a6ed3c (patch)
treeba753864755e002b0a33c532cc3ec956b10bfd0a /fs/btrfs/root-tree.c
parentBtrfs: get rid of sparse warnings (diff)
downloadlinux-171170c1c5625cab9687ecf6714e09e0c8a6ed3c.tar.xz
linux-171170c1c5625cab9687ecf6714e09e0c8a6ed3c.zip
btrfs: mark some local function as 'static'
Cc: Josef Bacik <jbacik@fusionio.com> Cc: Chris Mason <chris.mason@fusionio.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r--fs/btrfs/root-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c
index 70193d0e7058..c67b432d867d 100644
--- a/fs/btrfs/root-tree.c
+++ b/fs/btrfs/root-tree.c
@@ -29,8 +29,8 @@
* generation numbers as then we know the root was once mounted with an older
* kernel that was not aware of the root item structure change.
*/
-void btrfs_read_root_item(struct extent_buffer *eb, int slot,
- struct btrfs_root_item *item)
+static void btrfs_read_root_item(struct extent_buffer *eb, int slot,
+ struct btrfs_root_item *item)
{
uuid_le uuid;
int len;