Skip to content

Commit

Permalink
Correct func enter/leave macros in hdfs VFD (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored Dec 16, 2020
1 parent 4a9b02f commit 487860a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/H5FDhdfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1729,25 +1729,27 @@ H5Pget_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa_out)
{
herr_t ret_value = FAIL;

FUNC_ENTER_NOAPI_NOINIT
FUNC_ENTER_API_NOINIT
H5TRACE2("e", "i*x", fapl_id, fa_out);

HGOTO_ERROR(H5E_VFL, H5E_UNSUPPORTED, FAIL, "HDFS VFD not included in the HDF5 library")

done:
FUNC_LEAVE_NOAPI(ret_value)
FUNC_LEAVE_API(ret_value)
}

herr_t
H5Pset_fapl_hdfs(hid_t fapl_id, H5FD_hdfs_fapl_t *fa)
{
herr_t ret_value = FAIL;

FUNC_ENTER_NOAPI_NOINIT
FUNC_ENTER_API_NOINIT
H5TRACE2("e", "i*x", fapl_id, fa);

HGOTO_ERROR(H5E_VFL, H5E_UNSUPPORTED, FAIL, "HDFS VFD not included in the HDF5 library")

done:
FUNC_LEAVE_NOAPI(ret_value)
FUNC_LEAVE_API(ret_value)
}

#endif /* H5_HAVE_LIBHDFS */

0 comments on commit 487860a

Please sign in to comment.