diff options
| author | Naohiro Aota <[email protected]> | 2024-11-14 08:04:27 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-01-13 13:53:14 +0000 |
| commit | 3704db1013232465ee3db742dc31853c44daf68c (patch) | |
| tree | c3e4f7d2b17b7c1a236a651c4fc297535a96d7b3 /fs/btrfs/delalloc-space.c | |
| parent | btrfs: handle FS_IOC_READ_VERITY_METADATA ioctl (diff) | |
| download | kernel-3704db1013232465ee3db742dc31853c44daf68c.tar.gz kernel-3704db1013232465ee3db742dc31853c44daf68c.zip | |
btrfs: factor out btrfs_return_free_space()
Factor out a part of unpin_extent_range() that returns space back to the
space info, prioritizing global block reserve. Also, move the "len"
variable into the loop to clarify we don't need to carry it beyond an
iteration.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delalloc-space.c')
0 files changed, 0 insertions, 0 deletions
