diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-30 08:50:05 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-12-30 08:50:05 (GMT) |
commit | eecc0a26efe67c62485bd66e7c24e598e5ebadde (patch) | |
tree | d40d8b735cc1799239da3dd23a8ec273a195fcd1 /src/H5HFdblock.c | |
parent | 5e26cd2d824ea05e5ae5ca3aebaa439a9b80e7fc (diff) | |
download | hdf5-eecc0a26efe67c62485bd66e7c24e598e5ebadde.zip hdf5-eecc0a26efe67c62485bd66e7c24e598e5ebadde.tar.gz hdf5-eecc0a26efe67c62485bd66e7c24e598e5ebadde.tar.bz2 |
Refactor several cache clients to have only one copy of their deserialization
code.
Diffstat (limited to 'src/H5HFdblock.c')
-rw-r--r-- | src/H5HFdblock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5HFdblock.c b/src/H5HFdblock.c index 1272ab0..b34534c 100644 --- a/src/H5HFdblock.c +++ b/src/H5HFdblock.c @@ -493,6 +493,10 @@ H5HF_man_dblock_protect(H5HF_hdr_t *hdr, hid_t dxpl_id, haddr_t dblock_addr, udata.filter_mask = 0; } /* end else */ + /* Reset compression context info */ + udata.decompressed = FALSE; + udata.dblk = NULL; + /* Protect the direct block */ if(NULL == (dblock = (H5HF_direct_t *)H5AC_protect(hdr->f, dxpl_id, H5AC_FHEAP_DBLOCK, dblock_addr, &udata, flags))) HGOTO_ERROR(H5E_HEAP, H5E_CANTPROTECT, NULL, "unable to protect fractal heap direct block") |