]> git.dujemihanovic.xyz Git - u-boot.git/commit
zfs: fix function 'zlib_decompress' pointlessly calling itself
authorWHR <whr@rivoreo.one>
Tue, 30 Apr 2024 16:40:38 +0000 (00:40 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 13 May 2024 22:51:13 +0000 (16:51 -0600)
commit1466e065a94b3cd242f945f16c916a7f7da02985
tree1e5cc1aa72ed4dfc2b01d4391cb5015ef8d3ef13
parentcd85e0d443a40fe5e0814023e1c976127b761351
zfs: fix function 'zlib_decompress' pointlessly calling itself

In order to prevent crashing due to infinite recursion and actually
decompress the requested data, call the zlib function 'uncompress'
instead.

Signed-off-by: WHR <msl0000023508@gmail.com>
fs/zfs/zfs.c