]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix up some old names
authorNick Terrell <terrelln@fb.com>
Wed, 5 Apr 2017 00:03:48 +0000 (17:03 -0700)
committerNick Terrell <terrelln@fb.com>
Wed, 5 Apr 2017 00:03:48 +0000 (17:03 -0700)
contrib/linux-kernel/fs/btrfs/zstd.c

index 4f856700e52249d0e5cd6bb5c6c6999dcad5d8df..23a3692ad34b405b1870a90425fc3c6794abfd1b 100644 (file)
@@ -270,9 +270,9 @@ static int zstd_decompress_biovec(struct list_head *ws, struct page **pages_in,
 
        while (1) {
                const size_t rc = ZSTD_decompressStream(stream, &out_buf, &in_buf);
-               if (zstd_is_error(rc)) {
+               if (ZSTD_isError(rc)) {
                        pr_debug("BTRFS: ZSTD_decompressStream returned %d\n",
-                                       zstd_get_error_code(rc));
+                                       ZSTD_getErrorCode(rc));
                        ret = -EIO;
                        goto done;
                }