aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2021-02-22 18:40:47 +0200
committerDavid Sterba <[email protected]>2021-04-19 17:25:15 +0200
commit98686ffc71f58191ab3f4069d9ae7eee60fb3889 (patch)
treea53539110ae52edf96fbae621e794ad59f2d600b /tools/perf/scripts/python
parent8e3c9d3cf8a449cdc4c9bd8a62ba7b5e4bd52972 (diff)
btrfs: simplify code flow in btrfs_delayed_inode_reserve_metadata
btrfs_block_rsv_add can return only ENOSPC since it's called with NO_FLUSH modifier. This so simplify the logic in btrfs_delayed_inode_reserve_metadata to exploit this invariant. Signed-off-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> [ add assert and comment ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions