diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2021-12-04 01:18:15 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2022-01-07 16:18:24 +0300 |
| commit | 71d18b53540f106a394cb35ed93b487b76678b06 (patch) | |
| tree | e2d9a6c7862dd055a160c8e76e45776d8526dc95 /drivers/fpga/fpga-bridge.c | |
| parent | 487e81d2a4009d17dcfe7c67b78b75cd96bcdde3 (diff) | |
| download | linux-71d18b53540f106a394cb35ed93b487b76678b06.tar.xz | |
btrfs: add inode to truncate control
In the future we're going to want to use btrfs_truncate_inode_items
without looking up the associated inode. In order to accommodate this
add the inode to btrfs_truncate_control and handle the case where
control->inode is NULL appropriately. This is fairly straightforward,
we simply need to add a helper for the trace points, as the file extent
map update is controlled by a flag on btrfs_truncate_control.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
