diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-01-12 08:54:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-17 16:35:30 +0100 |
| commit | 9cb1a586c78ad35f9c5c679d8696e7cf38c5e734 (patch) | |
| tree | 28a6a9789db6c616060ed797ecc13d0802946fb3 /include/net/aligned_data.h | |
| parent | 3b7ca18f350970132cd31a634b811ea30c8735b0 (diff) | |
btrfs: use variable for end offset in extent_writepage_io()
[ Upstream commit 46a23908598f4b8e61483f04ea9f471b2affc58a ]
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>
Stable-dep-of: e9e3b22ddfa7 ("btrfs: fix beyond-EOF write handling")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
