aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-05-05 06:44:41 -0400
committerDavid Sterba <dsterba@suse.cz>2011-05-06 06:34:03 -0400
commitf2a97a9dbd86eb1ef956bdf20e05c507b32beb96 (patch)
tree756c2db8fee9c02df0e3217ea208a82b5f1d5e78 /fs/btrfs/disk-io.h
parent621496f4fd56195b7b273521f467c2945165481f (diff)
btrfs: remove all unused functions
Remove static and global declarations and/or definitions. Reduces size of btrfs.ko by ~3.4kB. text data bss dec hex filename 402081 7464 200 409745 64091 btrfs.ko.base 398620 7144 200 405964 631cc btrfs.ko.remove-all Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index 758f3ca614ee..2d75f9e896f6 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -55,11 +55,6 @@ int btrfs_commit_super(struct btrfs_root *root);
55int btrfs_error_commit_super(struct btrfs_root *root); 55int btrfs_error_commit_super(struct btrfs_root *root);
56struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root, 56struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root,
57 u64 bytenr, u32 blocksize); 57 u64 bytenr, u32 blocksize);
58struct btrfs_root *btrfs_lookup_fs_root(struct btrfs_fs_info *fs_info,
59 u64 root_objectid);
60struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info,
61 struct btrfs_key *location,
62 const char *name, int namelen);
63struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_root *tree_root, 58struct btrfs_root *btrfs_read_fs_root_no_radix(struct btrfs_root *tree_root,
64 struct btrfs_key *location); 59 struct btrfs_key *location);
65struct btrfs_root *btrfs_read_fs_root_no_name(struct btrfs_fs_info *fs_info, 60struct btrfs_root *btrfs_read_fs_root_no_name(struct btrfs_fs_info *fs_info,
@@ -80,8 +75,6 @@ int btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct inode *inode,
80 unsigned long bio_flags, u64 bio_offset, 75 unsigned long bio_flags, u64 bio_offset,
81 extent_submit_bio_hook_t *submit_bio_start, 76 extent_submit_bio_hook_t *submit_bio_start,
82 extent_submit_bio_hook_t *submit_bio_done); 77 extent_submit_bio_hook_t *submit_bio_done);
83
84int btrfs_congested_async(struct btrfs_fs_info *info, int iodone);
85unsigned long btrfs_async_submit_limit(struct btrfs_fs_info *info); 78unsigned long btrfs_async_submit_limit(struct btrfs_fs_info *info);
86int btrfs_write_tree_block(struct extent_buffer *buf); 79int btrfs_write_tree_block(struct extent_buffer *buf);
87int btrfs_wait_tree_block_writeback(struct extent_buffer *buf); 80int btrfs_wait_tree_block_writeback(struct extent_buffer *buf);