]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: use variable for end offset in extent_writepage_io()
authorFilipe Manana <fdmanana@suse.com>
Fri, 10 Oct 2025 16:04:03 +0000 (17:04 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 20:59:08 +0000 (21:59 +0100)
commit46a23908598f4b8e61483f04ea9f471b2affc58a
treec240b2729a981278fef2226855230572c00314ed
parent18de34daa7c62c830be533aace6b7c271e8e95cf
btrfs: use variable for end offset in extent_writepage_io()

Instead of repeating the expression "start + len" multiple times, store it
in a variable and use it where needed.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <asj@kernel.org>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c