summaryrefslogtreecommitdiffstats
path: root/src/H5Gtraverse.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-08 17:05:20 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-08 17:05:20 (GMT)
commite3e4c3710976810ed7a9109d9b4f9d842eca2954 (patch)
treec85f2d5dcb00b7ccb8f80774818cce25a89e3d0f /src/H5Gtraverse.c
parent68067443e04f352aeca5b41243e77e4aacc4cd98 (diff)
downloadhdf5-e3e4c3710976810ed7a9109d9b4f9d842eca2954.zip
hdf5-e3e4c3710976810ed7a9109d9b4f9d842eca2954.tar.gz
hdf5-e3e4c3710976810ed7a9109d9b4f9d842eca2954.tar.bz2
[svn-r25521] major rework of the internal setup of VOL plugins to make it more
symmetrical to VFDs and allow new functionality to be implemented later. + some Bug fixes
Diffstat (limited to 'src/H5Gtraverse.c')
-rw-r--r--src/H5Gtraverse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gtraverse.c b/src/H5Gtraverse.c
index 1658f8d..dbc52ba 100644
--- a/src/H5Gtraverse.c
+++ b/src/H5Gtraverse.c
@@ -45,8 +45,7 @@
#include "H5MMprivate.h" /* Memory management */
#include "H5Ppublic.h" /* Property Lists */
#include "H5WBprivate.h" /* Wrapped Buffers */
-#include "H5VLnative.h" /* Native Plugin */
-
+#include "H5VLprivate.h" /* VOL plugins */
/****************/
/* Local Macros */
@@ -208,6 +207,7 @@ H5G_traverse_ud(const H5G_loc_t *grp_loc/*in,out*/, const H5O_link_t *lnk,
/* Create a group ID to pass to the user-defined callback */
if(NULL == (grp = H5G_open(&grp_loc_copy, dxpl_id)))
HGOTO_ERROR(H5E_SYM, H5E_CANTOPENOBJ, FAIL, "unable to open group")
+
if((cur_grp = H5VL_native_register(H5I_GROUP, grp, FALSE)) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTREGISTER, FAIL, "unable to register group")