diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-28 09:36:40 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-06-07 16:37:36 +0200 |
commit | 48663d6e64d596ea6214089140b65708b3112bf2 (patch) | |
tree | ae5761b3f1e6531fb6f821557e828d02997f9939 /disk-io.h | |
parent | e2eb6dc4d405e21a7ded3c2a2508f6979a5d39c9 (diff) |
btrfs-progs: check: Remove root argument from delete_extent_records
This function is always passed the extent_root as "root" parameter. In
turn it uses the root parameter to mostly access fs_info and performs
only a single call to btrfs_update_block_group where it passses the
passed root. This is all redundant since fs_info can be referenced
from the transaction handle and in turn extent_root can be referenced
from the fs_info. So do that to simplify the function's signature.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Su Yue <suy.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'disk-io.h')
0 files changed, 0 insertions, 0 deletions