]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: zlib: don't cache sectorsize in a local variable
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Jan 2026 16:20:31 +0000 (17:20 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:56:08 +0000 (18:56 +0200)
commitefcf0898a6d01724fc8ea15e55fc39bfb1ecf347
treea98916b2cee56c9dc2f12ed1c8b2297d7eca2b21
parent4d083672b49294c31a683fd0e50d468e555768ca
btrfs: zlib: don't cache sectorsize in a local variable

The sectorsize is used once or at most twice in the callbacks, no need
to cache it on stack.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zlib.c