diff options
| author | Qu Wenruo <[email protected]> | 2019-03-20 14:27:41 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-04-29 19:02:23 +0200 |
| commit | f4340622e02261fae599e3da936ff4808b418173 (patch) | |
| tree | 605c229bc0529a5de782eca5599c69e763160a4d /tools/perf/scripts/python | |
| parent | 63489055e4c0dd4d2a04064138906630995456dc (diff) | |
btrfs: extent_io: Move the BUG_ON() in flush_write_bio() one level up
We have a BUG_ON() in flush_write_bio() to handle the return value of
submit_one_bio().
Move the BUG_ON() one level up to all its callers.
This patch will introduce temporary variable, @flush_ret to keep code
change minimal in this patch. That variable will be cleaned up when
enhancing the error handling later.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions