aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2022-02-23 14:06:44 -0500
committerDavid Sterba <[email protected]>2022-03-14 13:13:53 +0100
commit3466670558d70b30238bbef5fa0267bc6301b8db (patch)
tree21b1e32041dff38b10246974f908227b54fd8e0e /fs/btrfs/disk-io.c
parentb3c958a3694eb8280de9ee3b241ced03bce5ad5f (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