summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGu Jinxiang <gujx@cn.fujitsu.com>2018-01-31 11:09:19 +0800
committerDavid Sterba <dsterba@suse.com>2018-02-02 16:01:57 +0100
commit4665484f5f9266a3671c634d664b88fe5b900d56 (patch)
tree5b9697c7be900a4b00235d20a2203e0f6efa683f /tests
parentf1bc62184661120e1a8820b063718aa0f8c9893d (diff)
btrfs-progs: Cleanup use of root in leaf_data_end
In function leaf_data_end, root is just used to get fs_info, so change the parameter of this function from btrfs_root to btrfs_fs_info. And also make it consistent with kernel. Add const to parameter leaf of function btrfs_item_offset_nr to keep type consistent with leaf_data_end. Signed-off-by: Gu Jinxiang <gujx@cn.fujitsu.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions