diff options
| author | Naohiro Aota <[email protected]> | 2020-02-25 03:56:24 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-03-23 16:01:51 +0000 |
| commit | c70e2139dc81b35c7d86a5d550490f7eb1451c2e (patch) | |
| tree | 478e750ceafa438d35819a90d8263153f0db719f /fs/btrfs/async-thread.h | |
| parent | btrfs: drop unnecessary arguments from find_free_extent_update_loop() (diff) | |
| download | kernel-c70e2139dc81b35c7d86a5d550490f7eb1451c2e.tar.gz kernel-c70e2139dc81b35c7d86a5d550490f7eb1451c2e.zip | |
btrfs: factor out chunk_allocation_failed() for extent allocation
Factor out chunk_allocation_failed() from
find_free_extent_update_loop(). This function is called when it failed
to allocate a chunk. The function can modify "ffe_ctl->loop" and return
0 to continue with the next stage. Or, it can return -ENOSPC to give up
here.
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/async-thread.h')
0 files changed, 0 insertions, 0 deletions
