diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-09 12:22:30 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-09 12:34:04 +0200 |
commit | a6d5eedb9ed112474ab1988013fc812bc6056c7a (patch) | |
tree | 8f9ff2f244fb35105e79aa7a7df5dea5f407cf4f /nand-utils/nandwrite.c | |
parent | ce51dfe8c4e8ca25f23f3b48c8662bfd1fda1f37 (diff) |
mkfs.ubifs: remove ZSTD_CLEVEL_DEFAULT for backwards compatibillity
Support for ZSTD compression has been added recently through the ZSTD
library, which is famously known for its incredibly well designed and
stable API.
This patch removes usage of ZSTD_CLEVEL_DEFAULT, which isn't exposed
in older versions of the ZSTD library, and replaces it with with the
constant parameter 0. According to the documentation this should then
use a reasonable default (which is defined internally).
Other possible approachs include defining ZSTD_CLEVEL_DEFAULT to 3
(the value it _currently_ has) if it isn't defined. This patch chooses
the approach of passing 0 since this seems to be encouraged by the
existing documentation.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'nand-utils/nandwrite.c')
0 files changed, 0 insertions, 0 deletions