Merge tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[linux-2.6-microblaze.git] / fs / ubifs / sb.c
index c160f71..e7693b9 100644 (file)
@@ -53,6 +53,9 @@
 
 static int get_default_compressor(struct ubifs_info *c)
 {
+       if (ubifs_compr_present(c, UBIFS_COMPR_ZSTD))
+               return UBIFS_COMPR_ZSTD;
+
        if (ubifs_compr_present(c, UBIFS_COMPR_LZO))
                return UBIFS_COMPR_LZO;