aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMinjie Du <duminjie@vivo.com>2023-07-17 15:16:22 +0800
committerDavid Sterba <dsterba@suse.com>2023-08-21 14:52:13 +0200
commit7b365a2a3d31cc523ad24f2147285c3707297ce8 (patch)
tree77a27f3301ece4c568e198af6b4f5026fbeff7a5 /tools/perf/scripts/python
parentbtrfs: use helper sizeof_field in struct accessors (diff)
downloadlinux-7b365a2a3d31cc523ad24f2147285c3707297ce8.tar.gz
linux-7b365a2a3d31cc523ad24f2147285c3707297ce8.zip
btrfs: use folio_next_index() helper in extent_write_cache_pages
Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using the existing helper folio_next_index(). Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Minjie Du <duminjie@vivo.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions