summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-10-10 19:55:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-10-10 19:55:09 (GMT)
commit46434499668593bb2421a58365700e53c128cb10 (patch)
tree4288cb29b1ab6b31aa2e0a9cf6c814d54373b044 /src/H5FDmpio.h
parent4f5328967e20f41f26b6f88901fdc79e80496ceb (diff)
downloadhdf5-46434499668593bb2421a58365700e53c128cb10.zip
hdf5-46434499668593bb2421a58365700e53c128cb10.tar.gz
hdf5-46434499668593bb2421a58365700e53c128cb10.tar.bz2
[svn-r2656] Purpose:
Bug Fix Description: When parallel I/O is turned on, there were some macros used in the H5D routines which poked around in the H5F_t structure. This breaks the privacy of that structure and ties the H5D code too tightly to the H5F_t struct. Solution: Added a small function to retrieve the the value (driver_id) needed from the H5F_t function. Platforms tested: Eyeballed only, Albert needs this right away...
Diffstat (limited to 'src/H5FDmpio.h')
-rw-r--r--src/H5FDmpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpio.h b/src/H5FDmpio.h
index e7df072..c0f8068 100644
--- a/src/H5FDmpio.h
+++ b/src/H5FDmpio.h
@@ -44,7 +44,7 @@ typedef struct H5FD_mpio_dxpl_t {
#endif
#define IS_H5FD_MPIO(f) /* (H5F_t *f) */ \
- (H5FD_MPIO==f->shared->lf->driver_id)
+ (H5FD_MPIO==H5F_get_driver_id(f))
/* Function prototypes */
__DLL__ hid_t H5FD_mpio_init(void);