> So it's never worked? Yes, it's always failed to mount. > Did you test on a little endian machine after making this change? Unfortunately, i don't have little endian machine. So i couldn't test that.
Additionaly, when lz4 compress calls lz4_compressctx() function and uses LZ4_WRITE_LITTLEENDIAN_16() macro. And When lz4 decompress calls lz4_uncompress_unknownoutputsize function and uses LZ4_READ_LITTLEENDIAN_16 macro. There is endian mismatch in big endian machine as i metioned before. when compress lz4 write big endian bytes order and when decompress lz4 reads little endian bytes order. So i means we should make there is no endian mismatch between compress and decompress operation. Thanks.