diff options
author | Qu Wenruo <wqu@suse.com> | 2018-06-06 15:27:15 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:00:58 +0200 |
commit | cd28b154967d84e290df5496ecf0fd8adfb6218e (patch) | |
tree | 57e82803236976b9671a9488c2aee413b3d5e303 /ioctl.h | |
parent | e5f50be06fe2dfd1864a8fc175a506a44579aa41 (diff) |
btrfs-progs: check/lowmem: Prepare check_file_extent() to handle repair
Current check_file_extent() doesn't support later repair work, since it
doesn't accept btrfs_path structure as parameter, thus it can't modify
btrfs trees, or later check will still use the old and wrong path.
Use btrfs_path to replace btrfs_key, extent_buffer and slot parameters,
so we can modify @path directly for repair, and reduce the number of
parameters for check_file_extent().
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'ioctl.h')
0 files changed, 0 insertions, 0 deletions