]> git.ipfire.org Git - thirdparty/kmod.git/commit - libkmod/libkmod-file.c
libkmod: Keep track of compression type
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 1 Jun 2023 22:39:59 +0000 (15:39 -0700)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 9 Jun 2023 17:45:55 +0000 (10:45 -0700)
commite539827635db486ecc70801250f9f73f652cd8d0
tree7b11cde5c5897d6b78e8e0fc11ac3dcf3ed91b58
parente1f0e169de5413139c378c188028ae147d0b73ae
libkmod: Keep track of compression type

Do not only set the type as direct, but also keep track of the
compression being used. This will allow using the in-kernel compression
in future.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-file.c
libkmod/libkmod-internal.h