aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2018-05-11 13:13:36 -0700
committerDavid Sterba <[email protected]>2018-05-28 18:23:52 +0200
commit4b9d7b59bfcb62a7d438876eac5a054db32904dd (patch)
treec3e93971288d334bac61eb7954407b75e1a1835a /scripts/stackusage
parentc08db7d8d295a4f3a10faaca376de011afff7950 (diff)
Btrfs: refactor btrfs_evict_inode() reserve refill dance
The truncate loop in btrfs_evict_inode() does two things at once: - It refills the temporary block reserve, potentially stealing from the global reserve or committing - It calls btrfs_truncate_inode_items() The tangle of continues hides the fact that these two steps are actually separate. Split the first step out into a separate function both for clarity and so that we can reuse it in a later patch. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Omar Sandoval <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions