aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-07-09 14:52:54 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:46 +0200
commit621567a28ce081424bdcaaef7763a34b204d5be0 (patch)
treed61e5baeb219294155e0c615c73bbf122f6d321d /fs/btrfs/volumes.h
parentbtrfs: remove unused parameter from btrfs_parse_subvol_options (diff)
downloadlinux-dev-621567a28ce081424bdcaaef7763a34b204d5be0.tar.xz
linux-dev-621567a28ce081424bdcaaef7763a34b204d5be0.zip
btrfs: Remove unused function btrfs_account_dev_extents_size
This function is not used since the alloc_start parameter has been obsoleted in commit 0d0c71b317207082856 ("btrfs: obsolete and remove mount option alloc_start"). Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 275c31c730cf..9665b84b1026 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -384,8 +384,6 @@ static inline enum btrfs_map_op btrfs_op(struct bio *bio)
}
}
-int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start,
- u64 end, u64 *length);
void btrfs_get_bbio(struct btrfs_bio *bbio);
void btrfs_put_bbio(struct btrfs_bio *bbio);
int btrfs_map_block(struct btrfs_fs_info *fs_info, enum btrfs_map_op op,