diff options
author | Josef Bacik <[email protected]> | 2022-02-23 14:06:44 -0500 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:53 +0100 |
commit | 3466670558d70b30238bbef5fa0267bc6301b8db (patch) | |
tree | 21b1e32041dff38b10246974f908227b54fd8e0e /fs/btrfs/disk-io.c | |
parent | b3c958a3694eb8280de9ee3b241ced03bce5ad5f (diff) |
btrfs: add a alloc_reserved_extent helper
We duplicate this logic for both data and metadata, at this point we've
already done our type specific extent root operations, this is just
doing the accounting and removing the space from the free space tree.
Extract this common logic out into a helper.
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions