btrfs: rename variables for locked range in defrag_prepare_one_folio()
authorDavid Sterba <dsterba@suse.com>
Tue, 10 Jun 2025 12:17:51 +0000 (14:17 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jul 2025 21:58:01 +0000 (23:58 +0200)
commitd549391fc6845b701cffe870ee60916bf8b13094
tree761bc0c6a09a15a19482929f70c32942def8e519
parente47c8a47670dbb71bbeeb6cd91f6697106acd742
btrfs: rename variables for locked range in defrag_prepare_one_folio()

In preparation to use a helper for folio_pos + folio_size, rename the
variables for the locked range so they don't use the 'folio_' prefix. As
the locking ranges take inclusive end of the range (hence the "-1") this
would be confusing as the folio helpers typically use exclusive end of
the range.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/defrag.c