Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct func enter/leave macros in hdfs VFD #192

Merged
merged 1 commit into from
Dec 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 */