mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Revert accidental changes to freespace open and close routines.
This commit is contained in:
parent
e73a32b852
commit
363c140661
@ -193,7 +193,7 @@ H5FS_open(H5F_t *f, hid_t dxpl_id, haddr_t fs_addr, uint16_t nclasses,
|
||||
H5FS_hdr_cache_ud_t cache_udata; /* User-data for metadata cache callback */
|
||||
H5FS_t *ret_value = NULL; /* Return value */
|
||||
|
||||
FUNC_ENTER_NOAPI_NOINIT_TAG(dxpl_id, H5AC__FREESPACE_TAG, NULL)
|
||||
FUNC_ENTER_NOAPI(NULL)
|
||||
#ifdef H5FS_DEBUG
|
||||
HDfprintf(stderr, "%s: Opening free space manager, fs_addr = %a, nclasses = %Zu\n", FUNC, fs_addr, nclasses);
|
||||
#endif /* H5FS_DEBUG */
|
||||
@ -237,7 +237,7 @@ HDfprintf(stderr, "%s: fspace->rc = %u\n", FUNC, fspace->rc);
|
||||
ret_value = fspace;
|
||||
|
||||
done:
|
||||
FUNC_LEAVE_NOAPI_TAG(ret_value, NULL)
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
} /* H5FS_open() */
|
||||
|
||||
|
||||
@ -409,7 +409,7 @@ H5FS_close(H5F_t *f, hid_t dxpl_id, H5FS_t *fspace)
|
||||
{
|
||||
herr_t ret_value = SUCCEED; /* Return value */
|
||||
|
||||
FUNC_ENTER_NOAPI_NOINIT_TAG(dxpl_id, H5AC__FREESPACE_TAG, FAIL)
|
||||
FUNC_ENTER_NOAPI(FAIL)
|
||||
|
||||
/* Check arguments. */
|
||||
HDassert(f);
|
||||
@ -570,7 +570,7 @@ done:
|
||||
#ifdef H5FS_DEBUG
|
||||
HDfprintf(stderr, "%s: Leaving, ret_value = %d, fspace->rc = %u\n", FUNC, ret_value, fspace->rc);
|
||||
#endif /* H5FS_DEBUG */
|
||||
FUNC_LEAVE_NOAPI_TAG(ret_value, FAIL)
|
||||
FUNC_LEAVE_NOAPI(ret_value)
|
||||
} /* H5FS_close() */
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user