diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-04-25 16:41:01 -0400 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-06 15:55:23 -0400 |
commit | 48a3b6366f6913683563d934eb16fea67dead9c1 (patch) | |
tree | eb26170d3a5ddb6f81ae612db21fb8fba14e655d /fs/btrfs/compression.h | |
parent | 634554dc0acfc8753c05e432b2fdb34b0be89c78 (diff) |
btrfs: make static code static & remove dead code
Big patch, but all it does is add statics to functions which
are in fact static, then remove the associated dead-code fallout.
removed functions:
btrfs_iref_to_path()
__btrfs_lookup_delayed_deletion_item()
__btrfs_search_delayed_insertion_item()
__btrfs_search_delayed_deletion_item()
find_eb_for_page()
btrfs_find_block_group()
range_straddles_pages()
extent_range_uptodate()
btrfs_file_extent_length()
btrfs_scrub_cancel_devid()
btrfs_start_transaction_lflush()
btrfs_print_tree() is left because it is used for debugging.
btrfs_start_transaction_lflush() and btrfs_reada_detach() are
left for symmetry.
ulist.c functions are left, another patch will take care of those.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/compression.h')
-rw-r--r-- | fs/btrfs/compression.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h index 9afb0a62ae82..0c803b4fbf93 100644 --- a/fs/btrfs/compression.h +++ b/fs/btrfs/compression.h | |||
@@ -30,8 +30,6 @@ int btrfs_compress_pages(int type, struct address_space *mapping, | |||
30 | unsigned long *total_in, | 30 | unsigned long *total_in, |
31 | unsigned long *total_out, | 31 | unsigned long *total_out, |
32 | unsigned long max_out); | 32 | unsigned long max_out); |
33 | int btrfs_decompress_biovec(int type, struct page **pages_in, u64 disk_start, | ||
34 | struct bio_vec *bvec, int vcnt, size_t srclen); | ||
35 | int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, | 33 | int btrfs_decompress(int type, unsigned char *data_in, struct page *dest_page, |
36 | unsigned long start_byte, size_t srclen, size_t destlen); | 34 | unsigned long start_byte, size_t srclen, size_t destlen); |
37 | int btrfs_decompress_buf2page(char *buf, unsigned long buf_start, | 35 | int btrfs_decompress_buf2page(char *buf, unsigned long buf_start, |