]> Gentwo Git Trees - linux/.git/commit
btrfs: fix incomplete parameter rename in btrfs_decompress()
authorZhen Ni <zhen.ni@easystack.cn>
Fri, 14 Nov 2025 07:53:13 +0000 (15:53 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:42:24 +0000 (22:42 +0100)
commit280dd7c106fd4c47756d19f6ae89862bb7bf7225
tree23af0c412498b6fd5af4b7d63b35bcf635b6c123
parent1c094e6ccead7a12ed41cfba9119974657ad8971
btrfs: fix incomplete parameter rename in btrfs_decompress()

Commit 2c25716dcc25 ("btrfs: zlib: fix and simplify the inline extent
decompression") renamed the 'start_byte' parameter to 'dest_pgoff' in
the btrfs_decompress(). The remaining 'start_byte' references are
inconsistent with the actual implementation and may cause confusion for
developers.

Ensure consistency between function declaration and implementation.

Signed-off-by: Zhen Ni <zhen.ni@easystack.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/compression.h