]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gfs2: increase usage of folio_next_index() helper
authorMinjie Du <duminjie@vivo.com>
Mon, 17 Jul 2023 07:19:37 +0000 (15:19 +0800)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Sep 2023 13:58:15 +0000 (15:58 +0200)
commit5f02d16868b9d738d70656d074518cac760d39ab
treed3f15fe98c402954efec1b29c32bb203d631d84b
parent02aee814d37c563e24b73bcd0f9cb608fbd403d4
gfs2: increase usage of folio_next_index() helper

Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using
the existing helper folio_next_index().

Signed-off-by: Minjie Du <duminjie@vivo.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c