summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-09-12 15:04:30 +0300
committerDavid Sterba <dsterba@suse.com>2023-10-12 17:44:07 +0300
commit20cbe4603518ed328b173246d936d6ac62ec2fcc (patch)
tree284661d36b6f92178a66dc532aa1ff989a384d5b /tools/perf/scripts/python/export-to-postgresql.py
parent50564b651d01c19ce732819c5b3c3fd60707188e (diff)
downloadlinux-20cbe4603518ed328b173246d936d6ac62ec2fcc.tar.xz
btrfs: use btrfs_crit at btrfs_mark_buffer_dirty()
There's no need to use WARN() at btrfs_mark_buffer_dirty() to print an error message, as we have the fs_info pointer we can use btrfs_crit() which prints device information and makes the message have a more uniform format. As we are already aborting the transaction we already have a stack trace printed as well. So replace the use of WARN() with btrfs_crit(). Also slightly reword the message to use 'logical' instead of 'block' as it's what is used in other error/warning messages. 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/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions