summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2024-11-14 17:04:27 +0900
committerDavid Sterba <dsterba@suse.com>2025-01-13 14:53:14 +0100
commit3704db1013232465ee3db742dc31853c44daf68c (patch)
treec3e4f7d2b17b7c1a236a651c4fc297535a96d7b3 /tools/lib/python/kdoc
parentbfcf6d04f8ee817b2cb7c238e0a14392a3245f45 (diff)
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 <johannes.thumshirn@wdc.com> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions