summaryrefslogtreecommitdiffstats
path: root/src/H5FSsection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FSsection.c')
-rw-r--r--src/H5FSsection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5FSsection.c b/src/H5FSsection.c
index 9930223..cbc7efa 100644
--- a/src/H5FSsection.c
+++ b/src/H5FSsection.c
@@ -234,11 +234,10 @@ HDfprintf(stderr, "%s: New section info, addr = %a, size = %Hu\n", FUNC, fspace-
HDfprintf(stderr, "%s: Reading in existing sections, fspace->sect_addr = %a\n", FUNC, fspace->sect_addr);
#endif /* QAK */
+ /* Protect the free space sections */
cache_udata.fspace = fspace;
cache_udata.f = f;
cache_udata.dxpl_id = dxpl_id;
-
- /* Protect the free space sections */
if(NULL == (sinfo = H5AC_protect(f, dxpl_id, H5AC_FSPACE_SINFO, fspace->sect_addr, (size_t)fspace->alloc_sect_size, &cache_udata, H5AC_WRITE)))
HGOTO_ERROR(H5E_FSPACE, H5E_CANTPROTECT, NULL, "unable to load free space sections")