diff options
| author | Qu Wenruo <wqu@suse.com> | 2019-03-20 09:27:41 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2019-04-29 20:02:23 +0300 |
| commit | f4340622e02261fae599e3da936ff4808b418173 (patch) | |
| tree | 605c229bc0529a5de782eca5599c69e763160a4d /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 63489055e4c0dd4d2a04064138906630995456dc (diff) | |
| download | linux-f4340622e02261fae599e3da936ff4808b418173.tar.xz | |
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 <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
