summaryrefslogtreecommitdiff
path: root/fs/btrfs/qgroup.c
diff options
context:
space:
mode:
authorGu JinXiang <gujx@cn.fujitsu.com>2018-01-11 16:12:18 +0800
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:37 +0200
commit7ce311d552e473a5176f8bb143fb45de64b8bd81 (patch)
tree7df2369c78433bb0668026f9088016c4869bc322 /fs/btrfs/qgroup.c
parent019599ada73ce8ac0b0d60705819eba95df54630 (diff)
downloadlwn-7ce311d552e473a5176f8bb143fb45de64b8bd81.tar.gz
lwn-7ce311d552e473a5176f8bb143fb45de64b8bd81.zip
btrfs: use reada direction enum instead of constant value in load_free_space_tree
load_free_space_tree calls either function load_free_space_bitmaps or load_free_space_extents. And either of those two will lead to call btrfs_next_item. So in function load_free_space_tree, use READA_FORWARD to read forward ahead. This also changes the value from READA_BACK to READA_FORWARD, since according to the logic, it should reada_for_search forward, not backward. Signed-off-by: Gu JinXiang <gujx@cn.fujitsu.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> [ update changelog ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/qgroup.c')
0 files changed, 0 insertions, 0 deletions