diff options
author | Qu Wenruo <quwenruo.btrfs@gmx.com> | 2017-09-11 15:36:06 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-25 15:17:48 +0200 |
commit | 02b58051e60658abb0387bec7063e77d2941923b (patch) | |
tree | c9df3ed9895d12ca40b19dbf88bdbdd798fc08dc /btrfs-fragments.c | |
parent | 3efd322db238abcee7f8dddd6d5af7f69fc3fac4 (diff) |
btrfs-progs: Refactor find_next_chunk to get rid of parameter root and objectid
Function find_next_chunk() is used to find next chunk start position,
which should only do search on chunk tree and objectid is set to
BTRFS_FIRST_CHUNK_TREE_OBJECTID.
So refactor the parameter list to get rid of @root, which should be
obtained from fs_info->chunk_root, and @objectid, which is set to
BTRFS_FIRST_CHUNK_TREE_OBJECTID.
Signed-off-by: Qu Wenruo <quwenruo.btrfs@gmx.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-fragments.c')
0 files changed, 0 insertions, 0 deletions