summaryrefslogtreecommitdiff
path: root/btrfs-map-logical.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-map-logical.c
parent116123c5f21bdb9e35abaf470592186c2353920c (diff)
downloadbtrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.tar.gz
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-map-logical.c')
-rw-r--r--btrfs-map-logical.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
index d3d3c70..ee8407f 100644
--- a/btrfs-map-logical.c
+++ b/btrfs-map-logical.c
@@ -37,8 +37,8 @@
* */
static FILE *info_file;
-struct extent_buffer *debug_read_block(struct btrfs_root *root, u64 bytenr,
- u32 blocksize, int copy)
+static struct extent_buffer * debug_read_block(struct btrfs_root *root,
+ u64 bytenr, u32 blocksize, int copy)
{
int ret;
struct extent_buffer *eb;