summaryrefslogtreecommitdiffstats
path: root/src/H5FD.c
diff options
context:
space:
mode:
authorJacob Gruber <gruber1@hdfgroup.org>2012-08-21 22:29:20 (GMT)
committerJacob Gruber <gruber1@hdfgroup.org>2012-08-21 22:29:20 (GMT)
commit171af55b461eb4724ad00a6f0babf43b81cf5e7f (patch)
treefd271f755efac6574a6ad842ef482df1445c57a8 /src/H5FD.c
parent833a180cc9d62bb7dcb57d26bc134d62c98f1a1a (diff)
downloadhdf5-inactive/null_vfd.zip
hdf5-inactive/null_vfd.tar.gz
hdf5-inactive/null_vfd.tar.bz2
[svn-r22705] Updated the failure behavior of inner driver calls. Expanded the tests of the inner fapl. Other minor updates and fixes.inactive/null_vfd
Diffstat (limited to 'src/H5FD.c')
-rw-r--r--src/H5FD.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/H5FD.c b/src/H5FD.c
index 525dbea..e13998d 100644
--- a/src/H5FD.c
+++ b/src/H5FD.c
@@ -443,12 +443,10 @@ H5FD_get_class(hid_t id)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, NULL, "can't find object for ID")
if(TRUE == H5P_isa_class(id, H5P_FILE_ACCESS)) {
- //if(H5P_get(plist, H5F_ACS_FILE_DRV_ID_NAME, &driver_id) < 0)
if((driver_id = H5P_get_driver(plist)) < 0 )
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get driver ID")
ret_value = H5FD_get_class(driver_id);
} else if(TRUE == H5P_isa_class(id, H5P_DATASET_XFER)) {
- //if(H5P_get(plist, H5D_XFER_VFL_ID_NAME, &driver_id) < 0)
if((driver_id = H5P_get_driver(plist)) < 0 )
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get driver ID")
ret_value = H5FD_get_class(driver_id);
@@ -1100,7 +1098,6 @@ H5FD_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "not a file access property list")
/* Get the VFD to open the file with */
- //if(H5P_get(plist, H5F_ACS_FILE_DRV_ID_NAME, &driver_id) < 0)
if((driver_id = H5P_get_driver(plist)) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't get driver ID")