aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2020-09-08 11:27:21 +0100
committerDavid Sterba <[email protected]>2020-10-07 12:13:16 +0200
commitfb870f6cdd72a1f143d9d25ab864e474fed65616 (patch)
treee2a6b3f15909474609b0feeb6b4ef5e5eb8fc7b6 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parent8fccebfa534c7984864394fa03608305e4929aae (diff)
btrfs: remove item_size member of struct btrfs_clone_extent_info
The value of item_size of struct btrfs_clone_extent_info is always set to the size of a non-inline file extent item, and in fact the infrastructure that uses this structure (btrfs_punch_hole_range()) does not work with inline file extents at all (and it is not supposed to). So just remove that field from the structure and use directly sizeof(struct btrfs_file_extent_item) instead. Also assert that the file extent type is not inline at btrfs_insert_clone_extent(). Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions