summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-03-20 09:27:41 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:23 +0300
commitf4340622e02261fae599e3da936ff4808b418173 (patch)
tree605c229bc0529a5de782eca5599c69e763160a4d /tools/perf/scripts/python/bin/stackcollapse-record
parent63489055e4c0dd4d2a04064138906630995456dc (diff)
downloadlinux-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-record')
0 files changed, 0 insertions, 0 deletions