diff options
author | David Sterba <dsterba@suse.cz> | 2011-05-05 06:44:41 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-06 06:34:03 -0400 |
commit | f2a97a9dbd86eb1ef956bdf20e05c507b32beb96 (patch) | |
tree | 756c2db8fee9c02df0e3217ea208a82b5f1d5e78 /fs/btrfs/volumes.h | |
parent | 621496f4fd56195b7b273521f467c2945165481f (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/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 036b276b4860..5669ae8ea1c9 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -196,7 +196,6 @@ void btrfs_mapping_init(struct btrfs_mapping_tree *tree); | |||
196 | void btrfs_mapping_tree_free(struct btrfs_mapping_tree *tree); | 196 | void btrfs_mapping_tree_free(struct btrfs_mapping_tree *tree); |
197 | int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, | 197 | int btrfs_map_bio(struct btrfs_root *root, int rw, struct bio *bio, |
198 | int mirror_num, int async_submit); | 198 | int mirror_num, int async_submit); |
199 | int btrfs_read_super_device(struct btrfs_root *root, struct extent_buffer *buf); | ||
200 | int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, | 199 | int btrfs_open_devices(struct btrfs_fs_devices *fs_devices, |
201 | fmode_t flags, void *holder); | 200 | fmode_t flags, void *holder); |
202 | int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, | 201 | int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder, |
@@ -216,8 +215,6 @@ struct btrfs_device *btrfs_find_device(struct btrfs_root *root, u64 devid, | |||
216 | int btrfs_shrink_device(struct btrfs_device *device, u64 new_size); | 215 | int btrfs_shrink_device(struct btrfs_device *device, u64 new_size); |
217 | int btrfs_init_new_device(struct btrfs_root *root, char *path); | 216 | int btrfs_init_new_device(struct btrfs_root *root, char *path); |
218 | int btrfs_balance(struct btrfs_root *dev_root); | 217 | int btrfs_balance(struct btrfs_root *dev_root); |
219 | void btrfs_unlock_volumes(void); | ||
220 | void btrfs_lock_volumes(void); | ||
221 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); | 218 | int btrfs_chunk_readonly(struct btrfs_root *root, u64 chunk_offset); |
222 | int find_free_dev_extent(struct btrfs_trans_handle *trans, | 219 | int find_free_dev_extent(struct btrfs_trans_handle *trans, |
223 | struct btrfs_device *device, u64 num_bytes, | 220 | struct btrfs_device *device, u64 num_bytes, |