diff options
author | Filipe Manana <[email protected]> | 2022-02-28 16:29:29 +0000 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:53 +0100 |
commit | 313ab75399d0c7d0ebc718c545572c1b4d8d22ef (patch) | |
tree | 811d8b90b7f8bdfbc37ab2c98dcee9921029138a /tools/testing | |
parent | 06bae876634ebf837ba70ea3de532b288326103d (diff) |
btrfs: add and use helper for unlinking inode during log replay
During log replay there is this pattern of running delayed items after
every inode unlink. To avoid repeating this several times, move the
logic into an helper function and use it instead of calling
btrfs_unlink_inode() followed by btrfs_run_delayed_items().
Signed-off-by: Filipe Manana <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions