diff options
author | Filipe Manana <fdmanana@suse.com> | 2014-12-08 14:01:12 +0000 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-12-10 12:22:32 -0800 |
commit | 1edb647bb95439d90c0017e9ca23c4ecf00a0409 (patch) | |
tree | f73ba2db682e7352bf92d10eaa60956f285b3f84 /fs/btrfs/ctree.h | |
parent | 678886bdc6378c1cbd5072da2c5a3035000214e3 (diff) | |
download | lwn-1edb647bb95439d90c0017e9ca23c4ecf00a0409.tar.gz lwn-1edb647bb95439d90c0017e9ca23c4ecf00a0409.zip |
Btrfs: remove non-sense btrfs_error_discard_extent() function
It doesn't do anything special, it just calls btrfs_discard_extent(),
so just remove it.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index e6fbbd74b716..7e607416755a 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -3481,8 +3481,8 @@ void btrfs_put_block_group_cache(struct btrfs_fs_info *info); u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo); int btrfs_error_unpin_extent_range(struct btrfs_root *root, u64 start, u64 end); -int btrfs_error_discard_extent(struct btrfs_root *root, u64 bytenr, - u64 num_bytes, u64 *actual_bytes); +int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr, + u64 num_bytes, u64 *actual_bytes); int btrfs_force_chunk_alloc(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 type); int btrfs_trim_fs(struct btrfs_root *root, struct fstrim_range *range); |