ext4: convert mext_page_double_lock() to mext_folio_double_lock()
authorVishal Moola (Oracle) <vishal.moola@gmail.com>
Wed, 7 Dec 2022 18:10:09 +0000 (10:10 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:59 +0000 (17:12 -0800)
commite8dfc854eef20ac7663996f61837299887f380fc
tree95dbfad841d4ad3e399d877508a3059775c8a245
parentf4d9139f1394cbe2de158ab8771fea4e587004d4
ext4: convert mext_page_double_lock() to mext_folio_double_lock()

Convert mext_page_double_lock() to use folios.  This change saves 146
bytes of kernel text.  It also removes 6 calls to compound_head() and 2
calls to folio_file_page().

Link: https://lkml.kernel.org/r/20221207181009.4016-1-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ext4/move_extent.c