aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-03-25 15:14:34 +0800
committerDavid Sterba <dsterba@suse.com>2021-04-19 17:25:18 +0200
commitac5804eb8521bea5c1ec1b7e07ad87c469bf7437 (patch)
treed724a87088d37af25f1dfde415e3c7453be53363 /tools/perf/scripts/python/bin/stackcollapse-record
parentbtrfs: add sysfs interface for supported sectorsize (diff)
downloadlinux-ac5804eb8521bea5c1ec1b7e07ad87c469bf7437.tar.gz
linux-ac5804eb8521bea5c1ec1b7e07ad87c469bf7437.zip
btrfs: use min() to replace open-code in btrfs_invalidatepage()
In btrfs_invalidatepage() we introduce a temporary variable, new_len, to update ordered->truncated_len. But we can use min() to replace it completely and no need for the variable. Reviewed-by: Anand Jain <anand.jain@oracle.com> 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