diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 15:15:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-05-13 15:15:01 (GMT) |
commit | c9e13d9dae6a2061c4efbc2c0684d670b0f49944 (patch) | |
tree | fe584e948475f2286e44a21f94b28a5ae3b6a7d7 /src/H5FS.c | |
parent | ea30da9e877ff6842a08d2d204f2191cccab0a1f (diff) | |
download | hdf5-c9e13d9dae6a2061c4efbc2c0684d670b0f49944.zip hdf5-c9e13d9dae6a2061c4efbc2c0684d670b0f49944.tar.gz hdf5-c9e13d9dae6a2061c4efbc2c0684d670b0f49944.tar.bz2 |
[svn-r18790] Description:
Remove the size parameter from H5[A]C_unprotect() and the
H5[A]C__SIZE_CHANGED_FLAG, switching all clients & tests over to using
H5[A]C_resize_entry appropriately.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug & prod
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5FS.c')
-rw-r--r-- | src/H5FS.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -216,7 +216,7 @@ HDfprintf(stderr, "%s: fspace->sinfo = %p\n", FUNC, fspace->sinfo); } /* end if */ /* Unlock free space header, now pinned */ - if(H5AC_unprotect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, (size_t)0, fspace, H5AC__NO_FLAGS_SET) < 0) + if(H5AC_unprotect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, fspace, H5AC__NO_FLAGS_SET) < 0) HGOTO_ERROR(H5E_FSPACE, H5E_CANTUNPROTECT, NULL, "unable to release free space header") /* Set return value */ @@ -313,7 +313,7 @@ HDfprintf(stderr, "%s: Done expunging free space section info from cache\n", FUN HGOTO_ERROR(H5E_FSPACE, H5E_CANTFREE, FAIL, "unable to release free space header") /* Release the free space header */ - if(H5AC_unprotect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, (size_t)0, fspace, H5AC__DELETED_FLAG) < 0) + if(H5AC_unprotect(f, dxpl_id, H5AC_FSPACE_HDR, fs_addr, fspace, H5AC__DELETED_FLAG) < 0) HGOTO_ERROR(H5E_FSPACE, H5E_CANTUNPROTECT, FAIL, "unable to release free space header") fspace = NULL; |