summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-08-23 19:36:58 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-08-23 19:36:58 (GMT)
commitc749cde42677693e5376c3232de3550cdc767d1d (patch)
treeee9fb0ec791aa3d9b2284f86ce59cb28e2237413
parent403be84e62d0ca5361733eabf167671b98f3bca1 (diff)
downloadhdf5-c749cde42677693e5376c3232de3550cdc767d1d.zip
hdf5-c749cde42677693e5376c3232de3550cdc767d1d.tar.gz
hdf5-c749cde42677693e5376c3232de3550cdc767d1d.tar.bz2
[svn-r5889] Purpose:
Bug Fix Description: Structure elements in the GPFS code weren't named correctly. Solution: Changed the names to the correct values.
-rw-r--r--perform/pio_engine.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c
index 87dab86..596dde2 100644
--- a/perform/pio_engine.c
+++ b/perform/pio_engine.c
@@ -1700,11 +1700,11 @@ gpfs_access_range(int handle, off_t start, off_t length, int is_write)
access_range.hdr.totalLength = sizeof(access_range);
access_range.hdr.fcntlVersion = GPFS_FCNTL_CURRENT_VERSION;
access_range.hdr.fcntlReserved = 0;
- access_range.start.structLen = sizeof(gpfsAccessRange_t);
- access_range.start.structType = GPFS_ACCESS_RANGE;
- access_range.start.start = start;
- access_range.start.length = length;
- access_range.start.isWrite = is_write;
+ access_range.access.structLen = sizeof(gpfsAccessRange_t);
+ access_range.access.structType = GPFS_ACCESS_RANGE;
+ access_range.access.start = start;
+ access_range.access.length = length;
+ access_range.access.isWrite = is_write;
if (gpfs_fcntl(handle, &access_range) != 0) {
fprintf(stderr,
@@ -1793,8 +1793,8 @@ gpfs_clear_file_cache(int handle)
clear_cache.hdr.totalLength = sizeof(clear_cache);
clear_cache.hdr.fcntlVersion = GPFS_FCNTL_CURRENT_VERSION;
clear_cache.hdr.fcntlReserved = 0;
- clear_cache.start.structLen = sizeof(gpfsClearFileCache_t);
- clear_cache.start.structType = GPFS_CLEAR_FILE_CACHE;
+ clear_cache.clear.structLen = sizeof(gpfsClearFileCache_t);
+ clear_cache.clear.structType = GPFS_CLEAR_FILE_CACHE;
if (gpfs_fcntl(handle, &clear_cache) != 0) {
fprintf(stderr,
@@ -1839,8 +1839,8 @@ gpfs_cancel_hints(int handle)
cancel_hints.hdr.totalLength = sizeof(cancel_hints);
cancel_hints.hdr.fcntlVersion = GPFS_FCNTL_CURRENT_VERSION;
cancel_hints.hdr.fcntlReserved = 0;
- cancel_hints.start.structLen = sizeof(gpfsCancelHints_t);
- cancel_hints.start.structType = GPFS_CANCEL_HINTS;
+ cancel_hints.cancel.structLen = sizeof(gpfsCancelHints_t);
+ cancel_hints.cancel.structType = GPFS_CANCEL_HINTS;
if (gpfs_fcntl(handle, &cancel_hints) != 0) {
fprintf(stderr,