aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-find-root.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-08-09 15:20:47 -0500
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:40:54 +0200
commitfa25b35dcc39854a9f7399af86e56a34171f63a4 (patch)
tree21d7485eacb2cd1314170859ea7ed316e65052a5 /btrfs-find-root.c
parent116123c5f21bdb9e35abaf470592186c2353920c (diff)
downloadbtrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.tar.gz
btrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.tar.xz
btrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.zip
btrfs-progs: mark static & remove unused from non-kernel code
Mark many functions as static, and remove any resulting dead code. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'btrfs-find-root.c')
-rw-r--r--btrfs-find-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-find-root.c b/btrfs-find-root.c
index f63789d..1a7a80c 100644
--- a/btrfs-find-root.c
+++ b/btrfs-find-root.c
@@ -46,7 +46,7 @@ static void usage()
"[ -g search_generation ] [ -l search_level ] <device>\n");
}
-int csum_block(void *buf, u32 len)
+static int csum_block(void *buf, u32 len)
{
char *result;
u32 crc = ~(u32)0;