summaryrefslogtreecommitdiffstats
path: root/src/H5Distore.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-11-07 16:00:46 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-11-07 16:00:46 (GMT)
commit564b68cecc53b4fa4a48b3633643897fc62cab5f (patch)
tree44d3284b5dd04b324498a74f4db4db78d70e89c9 /src/H5Distore.c
parent88c57a32812d7e6b1e5454a3b1330791632a1913 (diff)
downloadhdf5-564b68cecc53b4fa4a48b3633643897fc62cab5f.zip
hdf5-564b68cecc53b4fa4a48b3633643897fc62cab5f.tar.gz
hdf5-564b68cecc53b4fa4a48b3633643897fc62cab5f.tar.bz2
[svn-r2807] ./hdf5/src/H5Fistore.c
* 2000-11-07 Robb Matzke <matzke@llnl.gov> (H5F_istore_preempt) Returns error if call to H5F_istore_flush() failed.
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r--src/H5Distore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 890ea58..8c4d816 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -1072,7 +1072,10 @@ H5F_istore_preempt (H5F_t *f, H5F_rdcc_ent_t *ent)
assert(ent->idx>=0 && ent->idx<rdcc->nslots);
/* Flush */
- H5F_istore_flush_entry(f, ent, TRUE);
+ if (H5F_istore_flush_entry(f, ent, TRUE)<0) {
+ HRETURN_ERROR(H5E_IO, H5E_WRITEERROR, FAIL,
+ "cannot flush indexed storage buffer");
+ }
/* Unlink from list */
if (ent->prev) {