summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-10-10 17:17:10 +0100
committerDavid Sterba <dsterba@suse.com>2025-11-24 21:59:08 +0100
commit74ca34f79e53657760c3b09abe1bd593b849ca8c (patch)
treedc07265bf1d1f932d64b944f11df303ad893e76e /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent46a23908598f4b8e61483f04ea9f471b2affc58a (diff)
btrfs: split assertion into two in extent_writepage_io()
If the assertion fails we don't get to know which of the two expressions failed and neither the values used in each expression. So split the assertion into two, each for a single expression, so that if any is triggered we see a line number reported in a stack trace that points to which expression failed. Also make the assertions use the verbose mode to print the values involved in the computations. Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Anand Jain <asj@kernel.org> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions