Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152790062
D55835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
D55835.diff
View Options
diff --git a/sys/fs/tarfs/tarfs_io.c b/sys/fs/tarfs/tarfs_io.c
--- a/sys/fs/tarfs/tarfs_io.c
+++ b/sys/fs/tarfs/tarfs_io.c
@@ -355,7 +355,7 @@
if (reset) {
zio->ipos = zio->idx[zio->curidx].i;
zio->opos = zio->idx[zio->curidx].o;
- ZSTD_resetDStream(zstd->zds);
+ ZSTD_DCtx_reset(zstd->zds, ZSTD_reset_session_only);
TARFS_DPF(ZIDX, "%s: skipping to index %u = i %zu o %zu\n", __func__,
zio->curidx, (size_t)zio->ipos, (size_t)zio->opos);
} else {
@@ -511,7 +511,7 @@
zio->curidx = 0;
zio->ipos = zio->idx[0].i;
zio->opos = zio->idx[0].o;
- ZSTD_resetDStream(zstd->zds);
+ ZSTD_DCtx_reset(zstd->zds, ZSTD_reset_session_only);
}
return (error);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 3:20 AM (10 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29640089
Default Alt Text
D55835.diff (685 B)
Attached To
Mode
D55835: tarfs: swap deprecated ZSTD_resetDStream() with ZSTD_DCtx_reset()
Attached
Detach File
Event Timeline
Log In to Comment