diff options
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r-- | src/H5Distore.c | 5 |
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) { |