aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2024-11-14 08:04:27 +0000
committerDavid Sterba <[email protected]>2025-01-13 13:53:14 +0000
commit3704db1013232465ee3db742dc31853c44daf68c (patch)
treec3e4f7d2b17b7c1a236a651c4fc297535a96d7b3 /fs/btrfs/inode.c
parentbtrfs: handle FS_IOC_READ_VERITY_METADATA ioctl (diff)
downloadkernel-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/inode.c')
0 files changed, 0 insertions, 0 deletions