diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-11 15:30:40 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-11 15:30:40 (GMT) |
commit | 650ca6a21849a31b29ae0e4644edb934b5cb3783 (patch) | |
tree | ff0f6a34a2bb55216576da869666e79562370928 /src/H5Fint.c | |
parent | 1cfe5fa4dea7918edc52521d05f2db3c7f4525fb (diff) | |
download | hdf5-650ca6a21849a31b29ae0e4644edb934b5cb3783.zip hdf5-650ca6a21849a31b29ae0e4644edb934b5cb3783.tar.gz hdf5-650ca6a21849a31b29ae0e4644edb934b5cb3783.tar.bz2 |
[svn-r22553] update the H5Iget_file_id implementation to use the VOL
Diffstat (limited to 'src/H5Fint.c')
-rw-r--r-- | src/H5Fint.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/H5Fint.c b/src/H5Fint.c index 9e05c60..4ecefe8 100644 --- a/src/H5Fint.c +++ b/src/H5Fint.c @@ -1270,7 +1270,7 @@ H5F_close(H5F_t *f) /* Sanity check */ HDassert(f); - //HDassert(f->file_id > 0); /* This routine should only be called when a file ID's ref count drops to zero */ + HDassert(f->file_id > 0); /* This routine should only be called when a file ID's ref count drops to zero */ /* Perform checks for "semi" file close degree here, since closing the * file is not allowed if there are objects still open */ @@ -1293,12 +1293,6 @@ H5F_close(H5F_t *f) /* Reset the file ID for this file */ f->file_id = -1; - /* - if((file_id = H5I_get_id(f, H5I_FILE)) < 0) - HGOTO_ERROR(H5E_ATOM, H5E_CANTGET, FAIL, "invalid atom") - H5I_remove(file_id); - */ - /* Attempt to close the file/mount hierarchy */ if(H5F_try_close(f) < 0) HGOTO_ERROR(H5E_FILE, H5E_CANTCLOSEFILE, FAIL, "can't close file") |