[PATCH] fs/squashfs: enable LZ4 compression support

2023-11-06 Thread David Oberhollenzer
The structure is identical to the existing compressor implementations, trivially adding lz4 decompression to sqfs_decompress. The changes were tested using a sandbox build. An LZ4 compressed squashfs image was bound as a host block device. Signed-off-by: David Oberhollenzer --- fs/squashfs

[PATCH] fs/squashfs: remove unused declarations

2023-11-06 Thread David Oberhollenzer
packing the image, mksquashfs uses them when appending data to an existing image. The kernel implementation does not touch those, and we don't need them either. Signed-off-by: David Oberhollenzer --- fs/squashfs/sqfs_decompressor.h | 35 - fs/squ

[PATCH] fs/squashfs: Only use export table if available

2022-12-25 Thread David Oberhollenzer
present. This patch changes the driver to use the ID table instead and only use the export table location if it lies between the two. Signed-off-by: David Oberhollenzer --- fs/squashfs/sqfs.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/fs/squashfs/sqfs.c b/fs